1
wssy921 2018-12-21 17:37:17 +08:00
数组好好的,干嘛要拆他
|
2
ruoyu0088 2018-12-21 20:47:11 +08:00 1
import numpy as np
#a = ... loc = np.where(np.diff(a[:, 0] // 100))[0] + 1 for arr in np.split(a, loc): print(arr) |