Label a csv file directly in your terminal.
Project description
A simple python package to quickly label csv files.
Installation
pip install labelcsv
Usage
Navigate to a directory that contains one or more csv files and run labelcsv.
labelcsv
Select the csv file to start labeling
Select file:
> movie_reviews.csv
iris.csv
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)
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
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
After you are done labeling, the file will be saved as: “feature_name.csv” and the distribution of labels will show.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.