I am iterating via pandas data frame and adding them to CSV. Is it possible to write a function that will avoid writing the same rows to the CSV?(if such row already exists, look for another row)
output_path="C:\\Users\\y.Israfilbayov\\Desktop\\AGS\\agstocsv.csv"
geolDf.to_csv(output_path, mode='a',index= False, header=not os.path.exists(output_path))
Thanks in Advance!