coding:utf-8import numpy as npx = np.array([[1, -1], [-1, 1]])print(x)"""[[ 1 -1] [-1 1]]"""# 将第一列中的-1替换程100x[:, 0] = np.where(x[:, ...
確定! 回上一頁