推荐学习书目
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 · 1716 views
    This topic created in 2055 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   ·   6078 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 06:11 · PVG 14:11 · LAX 23:11 · JFK 02:11
    ♥ Do have faith in what you're doing.