DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas series map
s.map({'cat': 'kitten', 'dog': 'puppy'}) 0 kitten 1 puppy 2 NaN 3 NaN dtype: object
Source by pandas.pydata.org #
PREVIOUS
NEXT
Tagged:
#pandas
#series
#map
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit