Quando rodo o código
import seaborn as sns
sns.lineplot(x = "max_depth", y = "train", data = resultados)
sns.lineplot(x = "max_depth", y = "test", data = resultados)
ocorre o seguinte erro
AttributeError                            Traceback (most recent call last)
<ipython-input-16-8fd6cec1ec1f> in <cell line: 3>()
      1 import seaborn as sns
      2 
----> 3 sns.lineplot(x = "max_depth", y = "train", data = resultados)
      4 sns.lineplot(x = "max_depth", y = "test", data = resultados)
3 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
 
             
            