Extension framework for pandas
Project description
pandex - An Extension Framework for pandas
pandex is a framework for creating, managing and sharing extensions
for the pandas package.
There is a built-in extension system in pandas but it is not
straightforward to share these between projects, virtual environments,
other users on the same server or indeed, the wider world.
pandex allows extensions to be installed from local files, directories
or directly from public GitHub repositories. Once installed, they persist
for a user across multiple virtual environments.
Any existing script can be upgraded to support extensions with a single line change. Simply replace:
import pandas as pd
with:
import pandex as pd
and all dataframes created from pd will be able to access installed extensions.
An demo extension which calculates the circumference and area of circles from a column of radius values can be installed:
pd.ext.import_extension('github:connectedblue/pdext_collection -> circle_calculations')
Whenever these calculations are required for a dataframe df which contains
a column radius, the extension can be called:
df.ext.circle_calculations()
To see the currently installed extensions:
pd.ext.show_extensions()
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pandex-0.2.1.tar.gz.
File metadata
- Download URL: pandex-0.2.1.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16ca70367aa6a2e73bef2f0b66b8054ba95685388b6c730ff27a6f630a15cd33
|
|
| MD5 |
01ffb6b021dbd62d385f83440ace33a5
|
|
| BLAKE2b-256 |
4c866d01de9d672a4a8cd1ff96e3d05a3829d680df383265af76ba039566f8e9
|
File details
Details for the file pandex-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pandex-0.2.1-py3-none-any.whl
- Upload date:
- Size: 34.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dafb808dfaaa958c22d716f8373c9639271da29d27fe2d63fca6ac1f803e7c8c
|
|
| MD5 |
382cc6f36cc1eb5116ec8ac3df7c9b13
|
|
| BLAKE2b-256 |
a5bc9765e2cbf53bad9b9fc724ab0f9f5c670d535464aa1dec6b4aa2950d4eb8
|