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
Built Distribution
Hashes for pandas_flavor-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4af19e9937c7b2aab89b1bf717dad90151f6d9dd9e5da4e03c0fa377001ac294 |
|
MD5 | 13c0454f764bee98eb39c660eea7210d |
|
BLAKE2b-256 | b4618d9f0e693a6177223ca67514f783e9c1a2f8fe48892349b94e34a18b3a6c |