Jul-26-2019, 03:11 AM
Hi,
I have below dataframe:
For example, df[1,2] show give me 2019-07-10
df[0,1] -->12/3 etc
I use the below code but it gives me whole row
I have below dataframe:
HAY 12/3 2019-07-07 5 KOP Pass 2019-07-10 ok GHK 1/4 2019-07-11 8/3I want to loop through columns and rows and access each cell element.
For example, df[1,2] show give me 2019-07-10
df[0,1] -->12/3 etc
I use the below code but it gives me whole row
for i,j in df.iterrows(): dt=df.ix[i,j]