DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pd.cut in pandas
>>> pd.qcut(range(5), 4, labels=False) array([0, 0, 1, 2, 3])
Source by pandas.pydata.org #
PREVIOUS
NEXT
Tagged:
#pandas
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit