I am trying get each data point from a data point with 13 columns and 13xx rows. And I figured I could make a nested loop to get each data point, however the code below is not working:
i = 0
for row in data.itertuples():
while i < len(da) - 1:
price = row[i:i+1]
price, = price
print(price)
i += 1
These are the only values I get (which is from one row only). How do I get all of the rows?
2011-12-12 00:00:00 64.58 64.92 63.935 64.31 8793500.0 0.0 1.0 53.7727555366 54.0558576872 53.235694104
da? Do you meanrow?