推荐学习书目
› 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 · 4673 views
    This topic created in 3642 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   ·   Privacy   ·   Solana   ·   6030 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 02:19 · PVG 10:19 · LAX 19:19 · JFK 22:19
    ♥ Do have faith in what you're doing.