5 ms·
Python's pandas library essentially does this when creating a DataFrame object from a CSV file. Of course, it's not always correct, but may be a starting point
by hackarama 4y ago
Python's pandas library essentially does this when creating a DataFrame object from a CSV file. Of course, it's not always correct, but may be a starting point for your use case.
- dsmmcken 4y agopandas is good if you are in python. If you happen to be looking for something in java, you can try: https://github.com/deephaven/deephaven-csv https://github.com/deephaven/deephaven-csv Benchmarks, along with other java alternatives discussed here: https://deephaven.io/blog/2022/02/23/csv-reader/ https://deephaven.io/blog/2022/02/23/csv-reader/
- LucianSpec 4y agoi used pandas, type guess isn't nice. especially on some string or time types. also extend pandas types is hard, pandas's design is more like a numerical computation tool.