Skip to main content

Pywrangle

About

PyWrangle is an open-source Python library for data wrangling. Wikipedia defines data wrangling as follows:

is the process of transforming and mapping data from one "raw" data form into another format with the intent of making it more appropriate and valuable for a variety of downstream purposes such as analytics

Functions

PyWrangle currently supports:

  • cleaning strings
  • tracking dataframe changes
  • identifying data entry errors

Documentation & Distribution

Documentation is available here

Distribution is available here

Install

Requirements

  • Python >= 3.6
  • numpy >= 1.14.4
  • pandas >= 1.0.3
  • fuzzywuzzy >= 0.18.0
  • python-levenshtein >= 0.12.0
  • metaphone >= 0.6

Pip Install

To install pywrangle, use pip:

pip install pywrangle

Import

Per convention with Python libraries for data science, import pywrangle as follows:

>>> import pywrangle as pw

Contributing

Like all developers, I love open source. Please reference the contributing guidelines here

History

Version = "0.3.03

  • Removed walrus operator for Pre-3.8 compatability. Now Python 3.6+ compatable.

Version = "0.3.0"

  • Removed identify missing data from library -- too much overlap with the missingno library.
  • Added identify_errors() function. Uses levenshtein's distance & double metaphone string matching algorithms to identify potential data entry errors in string columns.
  • Refactored code into different sub libraries
  • Placed documentation on ReadTheDocs.

version = "0.2.40"

  • refactored code for clarity
  • added display info to print_df_changes

version = "0.2.1"

  • Created init file for function imports
  • Documentation on importing pywrangle
  • Added numpy as required package.
  • Changed package requirements to greater than or equal to.

version = "0.0.1"

  • Init

Metadata

Release files for pywrangle 0.3.4

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

Source distribution (sdist)

Source distribution for pywrangle 0.3.4
File Size Uploaded Provenance Actions
pywrangle-0.3.4.tar.gz 20.5 kB Without provenance Details for pywrangle-0.3.4.tar.gz

Release files / pywrangle-0.3.4.tar.gz

Download URL pywrangle-0.3.4.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
34189a0b6c48db8ff8a7807eefc8d47210e9c31b71de16b1b043cebe3c262634
BLAKE2b-256 checksum
How to use checksums
6eb55a4e1dadbffde04e62f372caac10c65c1c6d731b3a7f33ca52f03aea10d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

Security for pywrangle 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.4 This release

1 release file No provenance

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