Skip to content

numpy array dtypes

Data types in NumPy NumPy supports a wide variety of data types. It is given using an attribute dtype which is a short form of data type. Most of the array creator/initializer function needs this arguments. Althoug optional, it helps numpy to determine the type of data type that array will store. Use of dtype NumPy Some time it is beneficial to use smaller data type to save memory and… Read More »Dtype NumPy: List of Data Types in NumPy and its Ranges

Dtype NumPy: List of Data Types in NumPy and its Ranges