recentpopularlog in
« earlier  
Scooter Software: Home of Beyond Compare
Beyond Compare is a comparison tool similar to Kaleidoscope
backup  comparison  image  code 
9 weeks ago
Create a new column in Pandas DataFrame based on the existing columns - GeeksforGeeks
df['Discounted_Price'] = df.apply(lambda row: row.Cost - 
                                  (row.Cost * 0.1), axis = 1)
pandas  howto  tutorial  tutorials  python 
december 2019
terriblecode - Asynchronous HTTP Requests in Python
import asyncio
import aiofiles
import aiohttp

base_url = ''
'user-agent': ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) '
'AppleWebKit/537.36 (KHTML, like Gecko) '
'Chrome/45.0.2454.101 Safari/537.36'),

async def get_players(player_args):
endpoint = '/commonallplayers'
params = {'leagueid': '00', 'season': '2016-17', 'isonlycurrentseason': '1'}
url = f'{base_url}{endpoint}'
print('Getting all players...')
async with aiohttp.ClientSession() as session:
async with session.get(url, headers=HEADERS, params=params) as resp:
data = await resp.json()
[(item[0], item[2]) for item in data['resultSets'][0]['rowSet']])

async def get_player(player_id, player_name):
endpoint = '/commonplayerinfo'
params = {'playerid': player_id}
url = f'{base_url}{endpoint}'
print(f'Getting player {player_name}')
async with aiohttp.ClientSession() as session:
async with session.get(url, headers=HEADERS, params=params) as resp:
data = await resp.text()
async with
f'{player_name.replace(" ", "_")}.json', 'w') as file:
await file.write(data)

loop = asyncio.get_event_loop()
player_args = []
*(get_player(*args) for args in player_args)
api  python  requests  asynchronous  programming  Scripting 
october 2019
"Awareness" by John Austin
Awareness-her gaze is so constant,our every movewatched
poetry  recovery  inspiration 
october 2019
‎Game of the Day: Grimvalor
‎Learn about Grimvalor on App Store.
Games  game  iOS 
september 2019
Seventies Font Free Download - Fonts Empire
Download Seventies Font from here by a single click, This font includes regular font, free fonts, funky fonts, shade fonts, and zip download fonts.
fonts  font  Fonts_&_Text 
september 2019
Learn a new pandas trick every day!
60+ tricks that will save you time and energy every time you use pandas! New tricks added daily. Up-to-date with the latest version of pandas (0.25)
python  pandas  programming  processing  productivity  datascience 
september 2019
HTTPie – command line HTTP client
HTTPie is a command line HTTP client that will make you smile.
http  cli  tools  api  tool  programming  commandline  rest  web 
august 2019
Super fast list of dicts to pre-formatted tables conversion library for Python 2/3 - alttch/rapidtables
python  programming  Scripting  spreadsheet 
august 2019
« earlier      
per page:    204080120160

Copy this bookmark:

to read