i have a dataframe that looks like this:
Open        High  ...  Dividends  Stock Splits
Date                                ...                         
2021-01-04  118.759295  119.907541  ...      0.194             0
2021-01-05  118.299996  120.137196  ...      0.000             0
2021-01-06  118.509677  123.691787  ...      0.000             0
2021-01-07  124.141101  127.286317  ...      0.000             0
2021-01-08  126.297817  127.446072  ...      0.000             0
2021-01-11  126.257878  129.143486  ...      0.000             0
2021-01-12  128.135026  128.194933  ...      0.000             0
2021-01-13  127.266345  127.855453  ...      0.000             0
when i do
for index, row in df.iterrows():
 print(index)
i just get the Date column.
but what i want to know is which row (0, 1, 2, 3, 4...) im on. how do i reference that?
 
     
    