import numpy as np # Example of 1D array array = np.linspace(3,40,40) # print the array data type print(array.dtype)
x = np.array( [1.0,2.1], dtype=float)