Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

df.sample(frac=1)

df.sample(frac=1, replace=True, random_state=1)
      num_legs  num_wings  num_specimen_seen
dog          4          0                  2
fish         0          0                  8
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+8 =