Skip to main content

PyPi Downloads PyPi Monthly Downloads PyPi Version Python 3.6

Data Dictionary for pandas

The data dictionary consists at least of the following columns:

  • Data Set: Used when mapping in combination with Field to rename to the column to Name.
  • Field: Column name of the data frame to map to Name.
  • Name: Column name that is unique throughout the data dictionary.
  • Description: Description of the column name. This can be used to provide additional information when displaying the data frame.
  • Type: Type the column should be cast to.
  • Format: Format to use when values need to be converted to a string representation. The format string has to be a Python format string such as {:.0f}%

The data dictionary can either be loaded from a CSV file (example data dictionary) or from a data frame.

Installation

Using pip

You can install using the pip package manager by running:

pip install pandas-datadict

Alternatively, you could install directly from Github:

pip install https://github.com/177arc/pandas-datadict/archive/master.zip

From source

Download the source code by cloning the repository or by pressing Download ZIP on this page. Install by navigating to the proper directory and running

python setup.py install

Usage

For usage guidance and testing the package interactively, hit the Usage Jupyter Notebook.

Documentation

For the code documentation, please visit the documentation Github Pages.

Contributing

  1. Fork the repository on GitHub.
  2. Run the tests with python -m pytest tests/ to confirm they all pass on your system. If the tests fail, then try and find out why this is happening. If you aren't able to do this yourself, then don't hesitate to either create an issue on GitHub, contact me on Discord or send an email to py@177arc.net.
  3. Either create your feature and then write tests for it, or do this the other way around.
  4. Run all tests again with with python -m pytest tests/ to confirm that everything still passes, including your newly added test(s).
  5. Create a pull request for the main repository's master branch.

Metadata

Release files for pandas-datadict 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pandas-datadict 0.2.3
File Size Uploaded
pandas-datadict-0.2.3.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pandas-datadict 0.2.3
File Interpreter ABI Platform
pandas_datadict-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / pandas-datadict-0.2.3.tar.gz

Download URL pandas-datadict-0.2.3.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
19ecfceb99a3b9d755976d8529058ad844c22c5579f4bfa3c2192fba8e3d5251
BLAKE2b-256 checksum
How to use checksums
fb0cf1408e16eab85501f58f2ea4f43fb6d6f32ed10376659a1a471455b3163e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

Release files / pandas_datadict-0.2.3-py3-none-any.whl

Download URL pandas_datadict-0.2.3-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9d2d972bad77a65cec5f600f4f1fee542c858622a656d7f7af49a5cbb0d4a77
BLAKE2b-256 checksum
How to use checksums
63da068cf457892cb2f09dccf9de9c862cb98782ef0664d65883720cfc17fd5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page