index
The index
command creates an index for a CSV file to speed up subsequent operations.
Syntax
qsv index <input_file>
Description
The index
command creates an index for a CSV file, allowing for efficient data access and processing. This is particularly useful for large datasets.
Options
- None specific to
index
Exit Codes
- 0: Index creation successful
- Non-zero: An error occurred
Examples
Basic Usage
Create an index for a CSV file:
qsv index DLD_Transactions_English.csv
Common Use Cases
- Improving performance for large datasets
- Enabling fast data access and processing
- Supporting random access mode in
luau
Tips
- Indexing is efficient, even for large datasets
- Use in combination with other qsv commands for more complex data processing pipelines
See Also
- count - for counting rows in your dataset