Re: Dataframe iterating question : 3 ways of calling a row and column

2017-08-22 Thread Pavol Lisy
On 8/21/17, zach.sm...@orthofi.com wrote: > I wouldn't say I'm a Python noob, but I wouldn't say I'm a Python expert > either. I work in data science and use Pandas Dataframes a lot. My question > is regarding the difference in calling out a specific row, column > combination in a dataframe. > > I

Re: Dataframe iterating question : 3 ways of calling a row and column

2017-08-21 Thread Rick Johnson
On Monday, August 21, 2017 at 12:08:54 PM UTC-5, zach@orthofi.com wrote: > I wouldn't say I'm a Python noob, but I wouldn't say I'm a Python expert > either. I work in data science and use Pandas Dataframes a lot. My question > is regarding the difference in calling out a specific row, column

Dataframe iterating question : 3 ways of calling a row and column

2017-08-21 Thread zach . smith
I wouldn't say I'm a Python noob, but I wouldn't say I'm a Python expert either. I work in data science and use Pandas Dataframes a lot. My question is regarding the difference in calling out a specific row, column combination in a dataframe. I see 3 ways of doing this: (1) df.loc[row_ind, colu