textdata.set_index(mergecols, inplace=True, drop=False)
csvdata.update(textdata)
csvdata.to_csv('csvdata.csv')
Editing a pandas script to ignore but not remove data then match & updating + comparing to prevent wasteful saves + slicing data to match with?