In Pandas you can shuffle your DataFrame like below with sample.

df = df.sample(frac=1)