Answers for "shuffle df python"

0

randomly shuffle pandas dataframe

  shuffled_train_df = train_df.reindex(np.random.permutation(train_df.index))
Posted by: Guest on July-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language