Error when writing dataframe to s3 location using PySpark

Constantine
Contributor III

I get an error when writing dataframe to s3 location

Found invalid character(s) among " ,;{}()\n\t=" in the column names of your

I have gone through all the columns and none of them have any special characters. Any idea how to fix this?