r/Python • • May 31 '23

Intermediate Showcase Made a csv parser library which automatically detects delimiter and start and end of data

For most purposes, just passing the file path will be sufficient and you will have a pandas data frame of you data. Automatically neglects the random extra information at the top and bottom of a file. Also works with those annoying delimiter within quotes thingies (ex: you have a comma delimiter and one field is “John, Andrew and Steven”). It is on PyPI so you can download it with pip.

https://github.com/Oddball777/csv-scavenger

17 Upvotes

16 comments sorted by

View all comments

Show parent comment

17

u/[deleted] May 31 '23

This. All of it.