Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas df sample

df['num_legs'].sample(n=3, random_state=1)
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #pandas #df #sample
ADD COMMENT
Topic
Name
4+7 =