V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
youthfire
V2EX  ›  Python

吐槽下 Feather 格式

  •  
  •   youthfire · Dec 2, 2018 · 2988 views
    This topic created in 2705 days ago, the information mentioned may be changed or developed.
    之前因为各种原因,没有成功跑起来 HDF5,后来看到国外论坛有评价说脆弱和损坏的经历,就直接试了下 Feather。

    读写速度都远胜于 csv 自不用说,只可惜 Pandas 对其支持也只有一个不带参数的简单读写,06 出了 0.4 版后 Feather.format 也很久没更新了,最新 0.11.1 的 pyarrow 还造成 pandas.read_feather 失效,只能用 feather.read_dataframe。想完全替代掉 csv,又觉得不灵活,貌似只支持 Dataframe。

    如果 Python 原生能像支持 csv 一样有类似 feather.writer 就好了,有些数据形成 csv 很容易,要事先形成 Dataframe 又有些麻烦。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2670 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 12:00 · PVG 20:00 · LAX 05:00 · JFK 08:00
    ♥ Do have faith in what you're doing.