DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
dataframe change column value
df["column1"].replace({"a": "x", "b": "y"}, inplace=True)
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#dataframe
#change
#column
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit