推荐学习书目
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
sylvos
V2EX  ›  Python

用 pandas 操作 mysql 读写效率高吗

  •  
  •   sylvos · Oct 17, 2016 via iPhone · 4570 views
    This topic created in 3569 days ago, the information mentioned may be changed or developed.
    我想借用 pandas 的 read_sql 和 to_sql 操作 mysql 数据库,这种方法可行吗,还是用其他方式更好,请指导
    2 replies    2016-10-18 02:00:41 +08:00
    neoblackcap
        1
    neoblackcap  
       Oct 17, 2016
    20-30 万的数据量,读还是很快的,写我就不知道了
    ksupertu
        2
    ksupertu  
       Oct 18, 2016 via iPhone
    没调优用它的 chunk 写入大概 2000 条每秒,这是我的经验锅应该在 mysql 调优上,个人感觉
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2381 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 16:09 · PVG 00:09 · LAX 09:09 · JFK 12:09
    ♥ Do have faith in what you're doing.