I am fairly new to Pandas, and am trying to use it to analyse a large dataset. I have read everything I can find about it, but just can't get it to work. I am trying to update values in a dataframe whilst iterating over it row by row, but the values are not being updated in the dataframe.
for index, row in df.iterrows():
for j in data_column:
this_value = some_value
print(this_value) # prints some_value
df.loc[index].at[j] = this_value
print(df.loc[index].at[j]) # prints 0 (not updated)