Skip to main content

Auxiliary functions to clean pandas data frames

Project description

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.8
  • 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.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.

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

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

pywrangle-0.3.0.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

pywrangle-0.3.0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file pywrangle-0.3.0.tar.gz.

File metadata

  • Download URL: pywrangle-0.3.0.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for pywrangle-0.3.0.tar.gz
Algorithm Hash digest
SHA256 335554586e185cc8e2d2ba0fa1d6924db94b9cd14c45c0020f28d9cd86f71667
MD5 4b552a1a3237bb8754363a0f18e22ed7
BLAKE2b-256 c766a118f23b5533911ed6456d49bf7cb827dff04416ec3fbf2be90686f2b981

See more details on using hashes here.

File details

Details for the file pywrangle-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pywrangle-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for pywrangle-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da39d384b75aeff4c7709c32d05022cc7d134711251a92ca4d0d63b949800910
MD5 0f03817275201ed6f605296d52970f52
BLAKE2b-256 f5decca539c0534aa98521782e02b16eedf11e1f38785b5dcf06fb1f9ef0dcbb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page