(path_to_csvfile)在命令行中utilities.py", line 41, in upload_csv_to_table
df.to_sql(self.table_name, conn, if_exists='append', index_label编辑:我想你得到了它,我得到了一个新的错误,我将单独研究它:
我使用pandas接收一个csv文件,只提取一列,并将其输出到一个文本文件。我的问题是,当它输出时,它会添加一行带有行号的行。我需要那个行号不存在。import pandas as pdpd.set_optionstr')
#df = DataFrame(df) #I've commented these two lines out becau