- 反向切片:
flow_numpy[..., 1]
np.genfromtxt(att_file, skip_header=2, usecols=0, dtype=np.str)
类似于pd.read_csv
- 查找元素index索引
x是np.ndarray
x.index(att)
flow_numpy[..., 1]
np.genfromtxt(att_file, skip_header=2, usecols=0, dtype=np.str)
类似于pd.read_csv
x是np.ndarray
x.index(att)