to_sql()正在打印我的JupyterNotebook中的每个insert语句,这使得数百万条记录的运行速度非常慢。我怎样才能显著地减少冗长?我没有找到这个函数的任何详细设置。How do you suppress output in IPython Notebook?from sqlalchemy import create_engine, NVARCHAR
df.to_sql('table_name', engine, if_exists
当我尝试导入库时,出现了以下错误:vpythondoes work on Python 2.7 and 3.4 in the Jupyternotebook environment.在错误中,它明显地表示它需要Python3.5或更高版本的,我认为它还包括我当前的3.10版本。我需要UnintasallPython3.10并安装一个旧版本吗?另外,我