Skip to main content

Phantom Cleaner 🧹

phantom_cleaner is a simple and efficient Python library to clean your datasets with minimal effort.

Features

  • Handle missing values (mean, median, mode, drop)
  • Remove duplicates
  • Remove outliers using IQR
  • Label encode categorical variables
  • Clean text data (lowercase, remove punctuation and digits)

Installation

pip install phantom_cleaner



#USAGE

# import pandas as pd
# from phantom_cleaner import PhantomCleaner

# df = pd.read_csv('yourfile.csv')
# cleaned_df = (PhantomCleaner(df)
#               .fill_missing('mean')
#               .remove_outliers_iqr()
#               .remove_duplicates()
#               .label_encode()
#               .get_data())

# print(cleaned_df.head())

Metadata

Release files for phantom-cleaner 0.1.0

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

Source distribution (sdist)

Source distribution for phantom-cleaner 0.1.0
File Size Uploaded Provenance
phantom_cleaner-0.1.0.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for phantom-cleaner 0.1.0
File Interpreter ABI Platform
phantom_cleaner-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / phantom_cleaner-0.1.0.tar.gz

Download URL phantom_cleaner-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c4b744efe3c6302d3edb9e114bafbaae41ba93cf63ad5e3c88797942688e0775
BLAKE2b-256 checksum
How to use checksums
37a1134bc17c2d055fea40e24c2e497dffd81f02dba6d3931d7cc607b79ea07f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / phantom_cleaner-0.1.0-py3-none-any.whl

Download URL phantom_cleaner-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66c002b098a33559b6fe4c58cd3b452de31f7e5b2f36344cc57c77c24fa38792
BLAKE2b-256 checksum
How to use checksums
6f6b6d28f79506469d5a2998eb046921a6ade3b8c61ec2a1f01d0783967d6182
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for phantom-cleaner 0.1.0

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.1.0 This release

2 release files 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