frequencia = pd.crosstab(dados.Sexo,dados.Cor) frequencia
AttributeError Traceback (most recent call last) in <cell line: 1>() ----> 1 frequencia = pd.crosstab(dados.Sexo,dados.Cor) 2 frequencia
/usr/local/lib/python3.10/dist-packages/pandas/core/generic.py in getattr(self, name) 5900 ): 5901 return self[name] -> 5902 return object.getattribute(self, name) 5903 5904 def setattr(self, name: str, value) -> None:
AttributeError: 'DataFrame' object has no attribute 'Sexo'