In NumPy, some built-in types such as int have aliases in the form of numpy.int. However, these aliases have been
deprecated and should not be used anymore.
The following deprecated aliases should be replaced with their built-in alternatives:
| Deprecated name |
Equivalent built-in type |
numpy.bool |
bool |
numpy.int |
int |
numpy.float |
float |
numpy.complex |
complex |
numpy.object |
object |
numpy.str |
str |
numpy.long |
int |
numpy.unicode |
str |