I'm trying to take my df.to_csv which is sep="\t" and turn that tab into two spaces instead.
This question is similar but the solution isn't working: Pandas to_csv with multiple separators
\s+ won't work as python will complain that its not a single char separator.
This works as its a tab:
df2.to_csv('test.csv', index=False, sep='\t', quoting=csv.QUOTE_NONE, quotechar="", escapechar=None)
this throws TypeError: "delimiter" must be a 1-character string
df2.to_csv('test.csv', index=False, sep='\s+', quoting=csv.QUOTE_NONE, quotechar="", escapechar=None)
