0
How to use different data types for int?
The default int in python is int64, I want to use int8, int16, int32. How can I?
1 Answer
+ 2
import numpy as np
Then use np.int16(), np.int32(), np.int64(), Put the number inside the parameters that you want to convert.