首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
用 pandas 操作 mysql 读写效率高吗
sylvos
·
2016-10-17 21:27:53 +08:00
via iPhone · 3769 次点击
这是一个创建于 2747 天前的主题,其中的信息可能已经有所发展或是发生改变。
我想借用 pandas 的 read_sql 和 to_sql 操作 mysql 数据库,这种方法可行吗,还是用其他方式更好,请指导
MySQL
pandas
read_sql
to_sql
2 条回复
•
2016-10-18 02:00:41 +08:00
1
neoblackcap
2016-10-17 21:46:21 +08:00
20-30 万的数据量,读还是很快的,写我就不知道了
2
ksupertu
2016-10-18 02:00:41 +08:00 via iPhone
没调优用它的 chunk 写入大概 2000 条每秒,这是我的经验锅应该在 mysql 调优上,个人感觉
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
我们的愿景
·
实用小工具
·
5512 人在线
最高记录 6543
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 35ms ·
UTC 03:35
·
PVG 11:35
·
LAX 20:35
·
JFK 23:35
Developed with
CodeLauncher
♥ Do have faith in what you're doing.