DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas fillna
# selecting your desired columns df[['a', 'b']] = df[['a', 'b']].fillna(df['c'], inplace=True)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#fillna
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit