Get random sample from dataframe python. shuffle(a[0]) Using random.