Skip to main content

A simple Python library for CSV cleaning and manipulation.

Project description

CSV Toolkit

A simple and beginner-friendly Python library for CSV cleaning and manipulation built using Pandas.

Features

  • Read CSV files
  • Display the dataset
  • Show first rows
  • Show last rows
  • View column names
  • Get dataset shape
  • Count rows
  • Find missing values
  • Remove duplicate rows
  • Remove empty rows
  • Fill missing values
  • Rename columns
  • Sort data
  • Save cleaned CSV files

Installation

pip install csv-toolkit

Example

from csvtoolkit import CSVToolkit

csv = CSVToolkit("employees.csv")

csv.show()
csv.remove_duplicates()
csv.remove_empty_rows()
csv.save("clean.csv")

License

MIT License

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

csvhelper-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csvhelper-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file csvhelper-0.1.0.tar.gz.

File metadata

  • Download URL: csvhelper-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for csvhelper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4fda510271673e74d77537d8b652513f72f9949dfc1dd32b813654567e663707
MD5 b1055cd8c5d69da54718758def4409e1
BLAKE2b-256 9c1d17d912562a876056a4750fb95300621710f8d42d2c5afd47dcbcd949a853

See more details on using hashes here.

File details

Details for the file csvhelper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: csvhelper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for csvhelper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56b9c3bf758933cd717247c6f0c2f94f215dc3c012484c266b23b57ef4652a29
MD5 05eeb632830817d3312fecb1a90d6f08
BLAKE2b-256 551942c7102c40a3e72b20e7bfcde8c3e9f1d6245555228ca1bde4d566a311e6

See more details on using hashes here.

Supported by

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