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

pandas 计算某列滚动百分比 有高效方式吗? pct_change 太慢了

  •  
  •   admirez · Sep 27, 2020 via iPhone · 1744 views
    This topic created in 2074 days ago, the information mentioned may be changed or developed.
    2 replies    2020-09-30 17:57:48 +08:00
    princelai
        1
    princelai  
       Sep 28, 2020
    自己写函数+numba jit,快是快,但我估计你还是会用回 pandas 的
    admirez
        2
    admirez  
    OP
       Sep 30, 2020 via iPhone
    @princelai 谢谢,那我还是想想别的办法
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1064 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 93c8b4a0 · 29ms · UTC 18:52 · PVG 02:52 · LAX 11:52 · JFK 14:52
    ♥ Do have faith in what you're doing.