I have a file that is riddled with almost all basic ascii characters, and therefore, to convert it to a meaningful csv to be imported by our database, I have changed my computers default list seperator to ¬ (alt+170).
If I use excel to open an xlsx, and then save as a csv, the program does fine. However, if I read a xlsx or csv into pandas, then call (the code below), it creates a file with two characters in place of ¬.
dataframe.to_csv(filepath, sep = '¬', index = False)
Opening these files as ¬ separated does not work and editing them in notepad shows me extended ascii character 182, as seen here:
https://theasciicode.com.ar/extended-ascii-code/letter-a-circumflex-accent-ascii-code-182.html
How can I get it to save extended ascii properly using pandas?