DataFrame随机排列

2018-07-25  本文已影响7人  _龙雀
  1. 假设已有名为cities的dataframe格式变量
cities.reindex(np.random.permutation(cities.index))
上一篇 下一篇

猜你喜欢

热点阅读