Created
February 24, 2020 14:47
-
-
Save vidit0210/99734086299093e5dff39d1e137a5145 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
np.random.seed(5) | |
l=list(df.index) | |
np.random_shuffle(l) | |
df = df.iloc[l] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment