DeprecationWarning: np.complex is a deprecated alias for the builtin comp lex. To silence this warning, use complex by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here.
DeprecationWarning: np.float is a deprecated alias for the builtin floa t. To silence this warning, 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.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
"float_series4": pd.Series([1, 2, 3.05, 4], dtype=np.float),
DeprecationWarning: np.bool is a deprecated alias for the builtin bool.
To silence this warning, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
"bool_series3": np.array([1, 0, 0, 1], dtype=np.bool),