Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python dataframe update if not new row

pd.concat([df1[~df1.index.isin(df2.index)], df2])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #dataframe #update #row
ADD COMMENT
Topic
Name
8+7 =