visualize data
Load, manipulate, and visualize data (using NumPy and Matplotlib) import numpy as np import matplotlib.pyplot as plt %matplotlib inline a=np.loadtxt(“name”, usecols=(0), unpack=True, delimiter=”,”, skiprows=1, dtype=int) name: 需要打开的文件名 usecols:需要文件第...列数据 usecols(0)-第一列数据 usecols(0,2)-第一列数据和第三列数据 http
用户评论