我一直试图将一个巨大的DF加载到postgres表中,SqlAlchemy但是该过程总是在一段时间后被终止。有没有更好的方法来处理熊猫?
...
>>engine = create_engine('postgresql://stargateuser:5tar9ate@localhost/stargate',encoding='utf-8', echo=True)
>>MainName.to_sql("landingpage_mainname", con=engine, if_exists="replace")
Killed
慕勒3428872
将Pandas DataFrame转换为字典
用另一个Pandas DataFrame更新存储在Pytable中的Pandas DataFrame
使用Pandas创建带有Series的DataFrame,导致内存错误
配置完成后引用pandas中没有series与dataframe
相关分类