numpy 数组增加列,增加行的函数:column_stack,row_stack,删除行或列的函数,delete
狼啸风云
修改
于
2022-09-02 19:30:28
修改
于
2022-09-02 19:30:28
文章被收录于专栏:
计算机视觉理论及其实现
def fun_ndarray():
a = [[1,2,7],
[-6,-2,-3],
[-4,-8,-55]
b = [3,5,6]
a = np.array(a)
b = np.array(b)