DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+8 =
Submit