Skip to main content

CleanPandasDF

CleanPandasDF is a powerful Python package designed specifically for data scientists, analysts, and anyone working with data in pandas dataframes. It focuses on automating the data cleaning process, making it more efficient and error-free. From standardizing column names to optimizing memory usage, CleanPandasDF ensures your dataframes are clean, concise, and ready for analysis.

Features

  • Automatic Column Renaming: Transform column names into a consistent format, making them easier to work with in your analysis.
  • Remove Single Cardinality Columns: Automatically identify and remove columns with only one unique value, reducing unnecessary data bulk.
  • Null Value Management: Effortlessly remove rows or columns with high percentages of null values, and apply sophisticated imputation strategies for missing data.
  • Memory Optimization: Reduce the memory footprint of your dataframes, enabling faster processing and analysis without compromising data integrity.
  • Data Quality Insights: Generate reports highlighting potential issues within your data, including outliers, inconsistent data types, and more.
  • Outlier Detection & Handling: Identify and manage outliers in your data, with options for removal, correction, or flagging for further investigation.

Installation

Install CleanPandasDF directly from PyPI:

pip install cleanpandasdf

Quick Start

Getting started with CleanPandasDF is easy. Here's how to clean your dataframe in just a few lines of code:

import pandas as pd
import cleanpandasdf as cpd

# Load your dataframe
df = pd.read_csv('your_data.csv')

# Clean your dataframe with CleanPandasDF
cleaned_df = cpd.clean(df)

# Your dataframe is now clean and ready for analysis!

Advanced Usage

CleanPandasDF offers a range of features for more detailed data cleaning and analysis needs. Here are some examples of advanced usage:

Custom Column Renaming

You can apply custom rules for renaming columns according to your preferences.

cleaned_df = cpd.clean(df, rename_strategy='custom', custom_rules={'oldName': 'newName'})

License

CleanPandasDF is made available under the MIT License. This license allows you to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, subject to the conditions outlined in the LICENSE file.

Contact

If you have any questions, feedback, or want to get involved with CleanPandasDF, don't hesitate to reach out.

Email: [sijopkd@gmail.com]

GitHub: [https://github.com/sijopkd]

Release files for cleanpandasdf 0.1.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 cleanpandasdf 0.1.3
File Size Uploaded
cleanpandasdf-0.1.3.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cleanpandasdf 0.1.3
File Interpreter ABI Platform
cleanpandasdf-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / cleanpandasdf-0.1.3.tar.gz

Download URL cleanpandasdf-0.1.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e39cda061a344b9ca8aa32e1c62478e9bfd07f7d049e8a80ee84292230947bf1
BLAKE2b-256 checksum
How to use checksums
3050da89a06f80c1d8088a1d7efc8b6ac8eafcb3ad62cce29ec48d8afc4e687d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.6

Release files / cleanpandasdf-0.1.3-py3-none-any.whl

Download URL cleanpandasdf-0.1.3-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d93a0532274d75db083e41fe877cce376e14cdb25424d6a598bafc349f19eab2
BLAKE2b-256 checksum
How to use checksums
587d2f52853a8f8c5d4c7e091d7269ce12afa04c94d277c1bac4f14801901aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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