DataFrame随机排列 2018-07-25 本文已影响7人 _龙雀 假设已有名为cities的dataframe格式变量 cities.reindex(np.random.permutation(cities.index))