arange()用於生成一維數組reshape()將一維數組轉換為多維數組import numpy as np print('默認一維為數組:', np.arange(5)) pri.
確定! 回上一頁