ftcsv icon indicating copy to clipboard operation
ftcsv copied to clipboard

Specify the size of columns ???

Open lingbl opened this issue 2 years ago • 2 comments

the head of my tsv file is one columns , but the data is ten columns, can I specify the size of tsv columns ? and If ftcsv can skip some head line is better, my tsv file is not always formal.

lingbl avatar Mar 01 '23 04:03 lingbl

I'm not exactly sure what you mean, it sounds like you have 10 lines you want to skip before parsing. If that's the case, you could try loading the file into memory first, scanning past the header data columns (and make a new string), and then using ftcsv to parse the rest of the file.

Sort've pre-process the file before parsing.

FourierTransformer avatar Mar 09 '23 04:03 FourierTransformer

fine , this a way to skip some head lines

lingbl avatar Mar 11 '23 15:03 lingbl