When'DataFrame' object has no attribute'ix' appears in pandas

trouble

When I tried to write to csv using pandas, I got the following error

phenomenon

 'DataFrame' object has no attribute 'ix' 

Cause

It seems impossible with the latest version (1.0.2) of pandas. For more information < / a> Read it ❤️.

approach

First, check the version of pandas (I used jupyter notebook this time, so as follows)

 print(pd.__version__)

You can revert to the previous version if necessary. Specify the version with pip or conda and type a command.

Recommended Posts

When'DataFrame' object has no attribute'ix' appears in pandas
AttributeError:'NoneType' object has no attribute'loader'
Blender has no object selection order
With xmpppy'_ssl._SSLSocket' object has no attribute'issuer'
[Python] Attribute Error:'list' object has no attribute'replace'
AttributeError: module'urllib' has no attribute'request' error in urllib.request
Solution when module'XXX' has no attribute'XXX' in Python
Django "Query Set, Object has no attribute'foo'" solution
AttributeError: I was addicted to'module' object has no attribute'MyTestCase'