测试对秩为1的ndarray进行排序 import numpy as np# 创建一个未排序的秩为1的ndarray x = np.random.randint(1,11,size=(10,))# 打印初始的x print('初始的 x = ', x)# 打印测试 print('……