0
Unable to use get_dtype_counts()
cars_data1.get_dtype_counts() Traceback (most recent call last): File "<ipython-input-67-203e149a0348>", line 1, in <module> cars_data1.get_dtype_counts() File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\generic.py", line 5274, in __getattr__ return object.__getattribute__(self, name) AttributeError: 'DataFrame' object has no attribute 'get_dtype_counts'
1 Answer
0
Thats it, if you look under
class DataFrame, you'll see there was no method defined called "get_dtype_counts".
If you add the method, it should get its return value.
also it looks like it should be:
cars_data1.__getattribute__(dtype_counts)