Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

replace nan from another column

df.Temp_Rating.fillna(df.Farheit, inplace=True)
del df['Farheit']
df.columns = 'File heat Observations'.split()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #nan #column
ADD COMMENT
Topic
Name
1+4 =