#!  anaconda3.6
# -*- coding:utf-8 -*-
# Author   : Simsimi
# @Time    : 19-1-3 下午9:59
# @File    : numpy_demo.py
# @Software: PyCharm

import numpy as np



# 保存数组
# np.save("filename.npy",a)
# # 读取数组
# b = np.load("filename.npy")

# # 行交换
# t[[1,2], :] = t[[1,2], :]
# # 列交换
# t[:,[1,2]] = t[:, [2,1]]