Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Pytablewriter – A python library to write a table with various formats (github.com/thombashi)
6 points by thombashi on May 24, 2016 | hide | past | favorite | 2 comments


This is pretty cool!

What functionality does this provide that Pandas doesn't?

Can it handle tables too big for memory? For example, could I use it to read 10 gigs from PostgreSQL to a CSV.


I would recommend that divide one SELECT query for 10GB data into for-loop that smaller SELECT query (like 1MB-data/query) execution and writing table by using LIMIT and OFFSET clauses. In that way, you don't need a large amount of memory.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: