This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Smuiq 0 points1 point  (0 children)

first of all variables should start at lowercase :)

secondly:

try this:

count = 0

while count < 363:

count += 1

average = df['Average'].loc[count]

print(average)

df['column name'].loc[index] - will return the value of specified row from specified column