Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas fillna

# based on another column value
df['column_1'].fillna(df['column_2'], inplace=True)
 
PREVIOUS NEXT
Tagged: #pandas #fillna
ADD COMMENT
Topic
Name
7+5 =