Skip to main content

The easy way to write your own Pandas flavor.

Project description

# Pandas Flavor Easily write your own flavor of Pandas

Pandas added register_series_accessor and register_dataframe_accessor decorators in 0.23. These extensions allow you to easily add new accessors to Pandas objects that are persistent. This means, you can easily write your own flavor of the DataFrame.

To see an example, checkout [pdvega](https://github.com/jakevdp/pdvega). This library adds a new Vega plotting accessor under the vgplot attribute and mirror the plot (matplotlib-based) accessor.

Pandas Flavor takes this extension module a step further and adds similar syntax for registering new methods!

![](docs/_images/example.png)

To see another example, check out [PhyloPandas](https://github.com/Zsailer/phylopandas). This library adds extra to_ methods for writing DataFrames to various biological sequencing file formats.

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

pandas_flavor-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandas_flavor-0.1.0-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pandas_flavor-0.1.0.tar.gz.

File metadata

  • Download URL: pandas_flavor-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pandas_flavor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fdf661f0d684725140dd54c5ac9dbc51cc206d05d7b1ba2fb655ac05fd67f5d0
MD5 6b800bec6280e18c2401e89634d44f7c
BLAKE2b-256 4dbb1a0bc3ad240eb22615a2cb350d210b8c7ed83c0567b44fab367b84b51235

See more details on using hashes here.

File details

Details for the file pandas_flavor-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pandas_flavor-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4af19e9937c7b2aab89b1bf717dad90151f6d9dd9e5da4e03c0fa377001ac294
MD5 13c0454f764bee98eb39c660eea7210d
BLAKE2b-256 b4618d9f0e693a6177223ca67514f783e9c1a2f8fe48892349b94e34a18b3a6c

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