Loading Data into Pandas: Tips and Tricks You May or May Not Know
dataground.io
dataground.io
[1]: https://ad.vgiscience.org/twitter-global-preview/00_Twitter_...
https://pandas.pydata.org/docs/reference/api/pandas.read_sql...
It’s much faster because DuckDB is vectorized. The result is a Pandas dataframe.
Querying the Pandas dataframe from DuckDB is faster than querying it with Pandas itself.
Despite using it for years, I still haven't decided if pandas is poorly architected or if the clunkiness (for lack of better of term) is a result of the inherent difficulty of the tasks.
https://github.com/capitalone/DataProfiler
The gist is that you can point to any common dataset and load it directly into pandas.
from dataprofiler import Data
data = Data("your_file.csv") # Auto-Detect & Load: CSV, AVRO, Parquet, JSON, Text, URL
I simply hate dealing with loading data, so it's my go-to.