Randomly select elements of a 1D array using choice(). Lets create a simple 1D array with 10 elements: >>> import numpy as np >>> data = np.arange(10) ...
確定! 回上一頁