DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
randomly shuffle pandas dataframe
shuffled_train_df = train_df.reindex(np.random.permutation(train_df.index))
Source by colab.research.google.com #
PREVIOUS
NEXT
Tagged:
#randomly
#shuffle
#pandas
#dataframe
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit