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.8.7

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.0b0.tar.gz (30.3 kB view details)

Uploaded Source

File details

Details for the file framania-0.11.0b0.tar.gz.

File metadata

  • Download URL: framania-0.11.0b0.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.10.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

File hashes

Hashes for framania-0.11.0b0.tar.gz
Algorithm Hash digest
SHA256 ac878ecf2d439b6d993c370905438f1c9d6d89e73ba3f9708d6b03d5b4064e66
MD5 5d0dae1668d5fd2d02cedfa44bf45c21
BLAKE2b-256 d491833b550dba58ccc0531a85fdd44d080c877f9039d396b3a9401175b69364

See more details on using hashes here.

Supported by

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