So something really weird is happening when I try editing :
In [119]: print(GDP.iloc[1][0])
Out [119]: Andorra
When I try to edit it with .iloc
and query it again this happens:
In [120]: GDP.iloc[1][0]="Cats"
print(GDP.iloc[1][0])
Out [120]: Andorra
I remember reading that .iloc
may call a copy or an image depending on the numpy
type. Anyway to fix this or is there other way I should be editing my data? Thanks.