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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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