Querying databases#

A common task in data science is to combine data sources to gain new insights. These tasks are typically done using relational databases, collections of tables. The Structured Query Language (SQL) is the tools of choice when it comes to querying databases. When working with Pandas dataframes in Python, we can use the pandasql library for using SQL with pandas, more precisely, it uses SQLite.

See also


We can install pandasql using mamba/conda

mamba install -c conda-forge pandasql