DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
dataframe change specicf values in column
df['column name'] = df['column name'].replace(['old value'],'new value')
Source by datatofish.com #
PREVIOUS
NEXT
Tagged:
#dataframe
#change
#specicf
#values
#column
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit