i was trying to print unique values in my data
%matplotlib inline
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
df=pd.read_csv("data.csv")
df.info()
df.shape
df.describe
df.head(10)
df.Make.unique()
but it resulting an error:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-6-9ae14dea9ad3> in <module>
----> 1 df.Make.unique()
~\Anaconda3\lib\site-packages\pandas\core\generic.py in __getattr__(self, name)
5177 if self._info_axis._can_hold_identifiers_and_holds_name(name):
5178 return self[name]
-> 5179 return object.__getattribute__(self, name)
5180
5181 def __setattr__(self, name, value):
AttributeError: 'DataFrame' object has no attribute 'Make'