Quando estou rodando o comando abaixo esta dando um erro:
sns.countplot(df_final['Segmento'])
ValueError Traceback (most recent call last)
<ipython-input-67-058635e98490> in <cell line: 1>()
----> 1 sns.countplot(df_final['Segmento'])
4 frames
/usr/local/lib/python3.10/dist-packages/pandas/core/series.py in __array__(self, dtype)
891 dtype='datetime64[ns]')
892 """
--> 893 return np.asarray(self._values, dtype)
894
895 # ----------------------------------------------------------------------
ValueError: could not convert string to float: 'Inativo'