Re:Comprehensive Guide on Data Visualization with Pandas
by danpelota on Monday September 16, 2019 @11:25AM
(#20984984)
On occasion, I've fired up pandas just to sanitize a CSV file and drop malformed rows as preparation to bulk ingesting into a database:
It's not efficient (reads everything into memory), but read_csv is robust when it comes to handling embedded unescaped quotes/commas/etc., and supports dropping rows with the incorrect number of columns due to anomalies it can't handle.
[ Parent
| on HN ]
There are no comments on this comment yet.