Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Fill NaN of a column with values from another column

df['column_1'].fillna(df['column_2'], inplace=True)
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #Fill #NaN #column #values #column
ADD COMMENT
Topic
Name
8+9 =