DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas copy column to another columns if null
df['performance_l'] = df['performance_l'].fillna(df['performance_r'])
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#copy
#column
#columns
#null
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit