Item Y1961 Y1962 Y1963 Y1964 Y1965 Y1966 Y1967 Y1968 \
8 Wheat 212139 212221 201443 217656 229353 231643 216676 220347
Y1969 ... Y2004 Y2005 Y2006 Y2007 Y2008 Y2009 Y2010 Y2011 \
8 215759 ... 0 0 0 0 0 0 0 0
W powyższym widoku próbuję upuścić kolumnę o nazwie "Element" z foll. polecenie:Ostrzeżenie o pandach podczas próby usunięcia kolumny
vals_bel_lux.drop('Item', axis=1, inplace=True)
Jednak to daje mi foll. ostrzeżenie:
C:\Anaconda64\lib\site-packages\pandas\core\generic.py:2602: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
Jak mogę poprawić to ostrzeżenie?
co to jest kompletne śledzenie? i jak dostałeś 'vals_bel_lux'? –
Zgaduję, że dostałeś 'vals_bel_lux' przez jakieś cięcie. –
Masz rację, pochodzi z plasterka – user308827