-
Hello everyone, I have a single .csv file with 8 million rows, and I'd like to split it into multiple .csv files of 1 million rows each, automatically saving them locally on .csv format. Is it possible to do this with a Python script on Visidata? If so, could you help me create it? |
Beta Was this translation helpful? Give feedback.
Answered by
saulpw
Sep 29, 2024
Replies: 1 comment 1 reply
-
There are better tools than VisiData to do this for csv, assuming none of the fields have newlines in them. Use the POSIX tools |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
herbst010
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are better tools than VisiData to do this for csv, assuming none of the fields have newlines in them. Use the POSIX tools
head
andsplit
.