CLEVERCSV-EXPLORE(1) | Clevercsv Manual | CLEVERCSV-EXPLORE(1) |
NAME
clevercsv-explore - Explore the CSV file in an interactive Python shell
SYNOPSIS
clevercsv explore [-e ENCODING | --encoding=ENCODING] [-n NUM_CHARS | --num-chars=NUM_CHARS] [-p | --pandas] <path>
DESCRIPTION
The explore command allows you to quickly explore a CSV file in an interactive Python shell. This command detects the dialect of the CSV file and drops you into a Python interactive shell (REPL), with the CSV file already loaded. Simply run:
to start working with the file loaded as a list of lists. Alternatively, you can run:
to read the file as a Pandas dataframe.
OPTIONS
-h, --help
-e, --encoding
-n, --num-chars
One aspect to keep in mind is that CleverCSV may need to read a specific number of characters to be able to correctly infer the dialect. For example, in the ``imdb.csv`` file in the GitHub repository, the correct dialect can only be found after at least 66 lines of the file are read. Therefore, if there is availability to run CleverCSV on the entire file, that is generally recommended.
-p, --pandas
<path>
CLEVERCSV
Part of the CleverCSV suite
2023-09-24 | Clevercsv 0.8.2 |