data.csv
1, 22, 3432
1, 23, \N
2, 24, 54335
2, 25, 3928
I have a csv file of data that is collected from a device. Every now and then the device doesn't relay information and outputs '\N'. I want to treat these as NaN and did this by doing
read_csv(data.csv, na_values=['\\N'])
which worked fine. However, I would prefer to have not only this string turned to NaN but any string that is in the csv file just in case the data I get in the future has a different string.
Is it possible to me to make any changes in the argument so it covers all strings?