Array এর ডেটা টাইপ জানা:
a = np.array([1, 2, 3])
print(a.dtype)
output :
int32
NumPy data types
Except for basic data types in Python, there are also some different data types in NumPy arrays. Here are the most common ones:
i– integer?– booleanu– unsigned integerf– floatc– complex floatm– timedeltaM– datetimeO– Python objectS– string
Last updated