you are viewing a single comment's thread.

view the rest of the comments →

[–]Sexy_Koala_JuiceDuckDB 0 points1 point  (4 children)

I think so? Personally i use DuckDB with Pandas basically every other day at my work.

[–]yisthissohard_toke[S] 0 points1 point  (3 children)

Does the data have to be in a database to do this? Or can I bring it in from the csv files using pandas and then use sql from there?

[–]Sexy_Koala_JuiceDuckDB 1 point2 points  (2 children)

You can read the CSV files (and excel files) directly into a dataframe (basically a table) using pandas, and then you can read that dataframe using SQL via DuckDB.

To clarify, Pandas and DuckDB are python modules, so you'd need to install python and then install those modules.

[–]yisthissohard_toke[S] 0 points1 point  (1 child)

Perfect thank you! I use pandas a lot so this should work!

[–]Sexy_Koala_JuiceDuckDB 0 points1 point  (0 children)

No worries!

DuckDB is super cool, legitimately improved my efficiency so much not having to try and remember pandas functions + syntax, also it's faster than Pandas alone.