Files
cheatsheet-tldr/tldr/csvpy
2024-04-26 00:13:28 +00:00

19 lines
398 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# csvpy
> Load a CSV file into a Python shell.
> Included in csvkit.
> More information: <https://csvkit.readthedocs.io/en/latest/scripts/csvpy.html>.
- Load a CSV file into a `CSVKitReader` object:
`csvpy {{data.csv}}`
- Load a CSV file into a `CSVKitDictReader` object:
`csvpy --dict {{data.csv}}`