AttributeError Traceback (most recent call last) in () ----> 1 treino_y.value_counts()
/usr/local/lib/python3.6/dist-packages/pandas/core/generic.py in getattr(self, name) 5065 if self.infoaxis.canhold_identifiers_and_holds_name(name): 5066 return self[name] -> 5067 return object.getattribute(self, name) 5068 5069 def setattr(self, name, value):
AttributeError: 'DataFrame' object has no attribute 'value_counts'
Sera que digitei alguma coisa errada?