这个Traceback (most recent call last):
File "D:\技能\python\4.py", line 5, in <module>
df.to_csv('./fund.csv', mode='a', index=False, encoding='utf-8-sig', quotechar='')
File "D:\技能\python\venv\lib\site-packages\pandas\util\_decorators.py", line 211, in wrapper
return func(*args, **kwargs)
File "D:\技能\python\venv\lib\site-packages\pandas\core\generic.py", line 3720, in to_csv
return DataFrameRenderer(formatter).to_csv(
File "D:\技能\python\venv\lib\site-packages\pandas\util\_decorators.py", line 211, in wrapper
return func(*args, **kwargs)
File "D:\技能\python\venv\lib\site-packages\pandas\io\formats\format.py", line 1189, in to_csv
csv_formatter.save()
File "D:\技能\python\venv\lib\site-packages\pandas\io\formats\csvs.py", line 251, in save
self.writer = csvlib.writer(
TypeError: quotechar must be set if quoting enabled
|