Andy Worxklift (@andworx) 's Twitter Profile
Andy Worxklift

@andworx

Pythonist without knowledge and a crush on Haskell

ID: 60542968

calendar_today27-07-2009 09:06:33

10 Tweet

0 Followers

34 Following

Andy Worxklift (@andworx) 's Twitter Profile Photo

Use #pandas DataFrame math: Columns or rows: df.apply(f) Cells: df.applymap(f) Multiple arguments: df.apply(lambda x: f(x, arg = …)) #PyData

Andy Worxklift (@andworx) 's Twitter Profile Photo

Get columns from list of lists LoL = [(col1, col2), (col1, col2)] -> cols = zip(*LoL) cols == [(col1, col1), (col2, col2)] #python