Realizei o passo a passo e quando vou plotar gráficos, mesmo instalando e atualizando as bibliotecas me deixa com esse erro:
AttributeError Traceback (most recent call last)
<ipython-input-51-6789fdb55975> in <cell line: 1>()
----> 1 sns.barplot(x="original_language", y = "total", data = contagem_de_lingua)
5 frames
/usr/local/lib/python3.10/dist-packages/numpy/__init__.py in __getattr__(attr)
322
323 if attr in __former_attrs__:
--> 324 raise AttributeError(__former_attrs__[attr])
325
326 if attr == 'testing':
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations