Skip to main content

Label a csv file directly in your terminal.

Project description

A simple python package to quickly label csv files.

Installation

pip install labelcsv

Usage

  1. Navigate to a directory that contains one or more csv files and run labelcsv.

labelcsv
  1. Select the csv file to start labeling

Select file:
> movie_reviews.csv
iris.csv
  1. Choose the column in the csv file to label. The number next to each column shows the number of missing values for that column.

Select column to label from movie_reviews.csv (Rows: 150, Columns: 2):
Movie Description → (0)
> Movie Reviews → (5)
  1. Add labels that are separated by a single space. A Skip label will automatically be added which will replace the label with a blank value.

Add labels separated by a space:

Positive Negative Neutral
  1. Start labeling by using the UP and DOWN arrow keys to select the label and then hit ENTER to label the row:

> Remaining Movie Reviews to be labeled: 150 - Skipped: 0

? I like the movie.
> Positive
Negative
Skip
  1. After you are done labeling, the file will be saved as: “feature_name.csv” and the distribution of labels will show.

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

labelcsv-0.1.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

labelcsv-0.1.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file labelcsv-0.1.2.tar.gz.

File metadata

  • Download URL: labelcsv-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for labelcsv-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e1858d3a7ec2ae400279f12f6385b456add13703f0fb4100df1e70a5be23b62d
MD5 d6d4cc625ec83742c622d3855e2314c9
BLAKE2b-256 f3b57fe9655a8cb3c320c2d14d52aa5db3eb79f2271057c87ce6129f809633b4

See more details on using hashes here.

File details

Details for the file labelcsv-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: labelcsv-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for labelcsv-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8167300c1ea042dbc1c552cc69f81534f747100cab065a910c190762c369ad3a
MD5 8a2c82673f08260d9c4e47b1d8ef7fdc
BLAKE2b-256 b4764efba0737c633820428165c3fbb24a59a2328f041f0cba4d1ceaa47b5868

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