📜  shuffle rows dataframe - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:47.405000             🧑  作者: Mango

代码示例4
shuffled_train_df = train_df.reindex(np.random.permutation(train_df.index))