Skip to main content

pandas/dask DataFrame API extension library

Project description

framania - pandas/dask DataFrame API extension library

Actions Status

モチベーション

pandas/daskには、DataFrame操作のための充実したAPIが用意されています。 しかし、このAPIを使って実際に処理を行なってみると、「こんなAPIが欲しい!」という気持ちになることも多いと思います。 framaniaでは、痒いところに手が届かないような、もどかしい部分のAPIを拡張することを目的に開発しています。

コンセプト

framaniaでは、下記のポイントを重要視して実装を行います。

  • 高速に動作
  • 省メモリ設計
  • なるべくオプションは少ないAPI

バージョン

0.11.0b4

API一覧

  • daskmania
    • aggregate
      • aggregate_by_named_index_and_keys #
      • aggregate_as_series #
      • aggregate_as_series_by_named_index_and_keys #
    • filter
      • drop_rows_by_index #
      • drop_duplicates_by_named_index_and_keys #
    • stack
      • stack_list_column #
      • stack_list_columns #
      • stack_dict_column #
      • stack_columns #
    • util
      • make_meta #
      • map_partitions_as_meta #
    • api ##
  • pandasmania
    • aggregate
      • aggregate_as_series
    • stack
      • stack_list_column #
      • stack_list_columns #
      • stack_dict_column #
      • stack_columns #
      • unstack_column #
    • na
      • fbfill_series #
    • filter
      • drop_duplicates_by_named_index_and_keys #
    • transform
      • timeseries_value_changed #
      • timeseries_id_changed #
      • grouper_for_timeseries #
      • group_row_number #
      • asstr #
    • api ##
  • intakemania
    • util
      • add_source_to_catalog #
      • dump_dask_to_intake #
      • dump_pandas_to_intake #
      • persist_local #
    • extension
      • FramaniaExtendedIntakeCatalog #
      • FramaniaExtendedIntakeSource #
      • analysis #
    • api ##
    • jupyter

testing status

  • #: doctest
  • ##: test file
  • ###: doctest and test file

テスト

テストは、doctestによる方法と、テストプログラムを作成する方法を適宜選択します。 テストデータの生成方法が複雑な場合や、様々なテストデータによるテストが必要な場合は、テストプログラムを作成します。

> pytest

リリース

pip install setuptools wheel twine
python setup.py sdist
python -m twine upload --repository  testpypi dist/*
python -m twine upload --repository  pypi dist/*
rm -rf dist *.egg-info MANIFEST

インストール

pip install framania

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

framania-0.11.4.tar.gz (31.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page