CleverCSV: A Drop-In Replacement for Python's CSV Module
1–10 of 44 posts
Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#2Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#3How does this compare to Pandas?
https://github.com/alan-turing-institute/CleverCSV/blob/mast...
Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#4How does this compare to Pandas?
Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#5How does this compare to Pandas?
This project appears to have a dependency on pandas. https://github.com/alan-turing-institute/CleverCSV/blob/mast...
Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#6Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#7This seems kind of philosophically similar to FTFY, https://github.com/LuminosoInsight/python-ftfy , except for CSV files instead of botched text strings.
Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#8How does this compare to Pandas?
Pandas uses the Python csv module under the hood. Most of the code in the read_csv method is used to get the data from the csv file and load it into data frames.
Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#9Very glad to see this here, hopefully it'll help with increasing adoption of the RFC.
I find one of the biggest pains of working with CSV is that all too often, someone gets Excel involved, and then Excel absolutely butchers the file. Off the top of my head: It strips leading 0's (even if quoted), converts big numbers to scientific notation, sometimes interprets non-date values as dates, and when saving, keeps the mangled values, doesn't preserve quotes, and uses regional settings -- to the point in some locales, it becomes a "semi-colon separated file"! Even just opening and then saving a .csv (without editing) can totally mangle it to the point it's unusable. Sometimes Excel can't even open a file saved by Excel without mangling it even more.
Re: CleverCSV: A Drop-In Replacement for Python's CSV Module
#10Sounds like CleverCSV could determine and generate a schema automatically given a CSV file.
1: https://github.com/theodi/csvlint.rb#json-table-schema-suppo...