SQL with Python with Polars DataFrame library (hands-on tutorial)

Veröffentlicht am: 03 März 2023
auf dem Kanal: Data Science Garage
4,247
104

This video shows how to execute SQL queries with Python with Polars DataFrame library. You can use Polars for any kind of tabular data stored in CSV, Parquet, or other standard data file formats.

Polars module is built with Rust which gives it C++ performance and allows to control performance. There are two API:
for Rust user: https://pola-rs.github.io/polars/polars/
for Python user: https://pola-rs.github.io/polars/py-p...

You can use Polars as a DataFrame library or as query engine backend for your data models. Because of this reason it is beautiful choice for data scientists and data analytics who need handle big amount of data or are more familiar with SQL than Pandas (in Python).

Polars supports Numpy universal and Windows functions, also provides so popular statistics and aggregation functions such as GroupBy, Folds, and Regular Expressions. Also, you can use it with Selecting, Handling, Combining, Multiprocessing data, and even with Time Series data.

Useful links
Polars User Guide: https://pola-rs.github.io/polars-book...
Polars main website: https://www.pola.rs/

Content of the video:
0:00 - What is Polars DataFrame library
1:32 - Your first Python code with Polars

In some aspects, Polars can be a good alternative to Spark SQL framework.

If you found useful from this tutorial, please drop a comment or subscribe to get more similar videos!
‪@DataScienceGarage‬

#sql #polars #rust #python


Auf dieser Seite können Sie das Online-Video SQL with Python with Polars DataFrame library (hands-on tutorial) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Data Science Garage 03 März 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,247 Mal angesehen und es wurde von 104 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!