Polars - An Introduction to Polars v1 for Python Data Analytics!

preview_player
Показать описание
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:

In this video we'll introduce the Polars package for data analytics in Python. This is a modern, rapidly growing alternative to Pandas for data analysis.

We'll look at the core data structures (Series, DataFrames) and will look at how to select rows/columns, add new columns, drop columns, aggregate and sort data, handle null values, plot data to charts, and how to read/write data from/to files.

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:26 Introduction to Polars
01:12 Installing Polars
02:14 Series objects in Polars
04:26 DataFrame objects in Polars
07:08 Selecting columns from DataFrames
08:53 Selecting rows with DataFrame filter method
11:05 Adding and Dropping columns from DataFrames
13:59 Sorting DataFrames
15:02 Grouping and Aggregation with DataFrames
19:17 Handling null values with Polars
24:00 Serialising data to files with Polars
25:33 Plotting DataFrame data with Polars
28:33 Polars and Pandas comparison

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:

#python #polars #datascience #data
Рекомендации по теме
Комментарии
Автор

Thanks for your sharing. I've been a heavy R user for the last ten years. I think Polars is closer to dplyr than Pandas. Now I know a better way to migrate my previous code.

Mshiunwu
Автор

Thanks for the video. A polars/pandas/duckdb video would be lovely. Would also be nice if you could then showcase the lazy evaluation/query optimizer in polars compared to pandas. And if you're talking about duckdb which is SQL adjacent, maybe also some words about the SQL interface in polars.

ringpolitiet
Автор

Subscribed ! For amazing contents and consistency! Keep it up!♥

md.musfiqurrahaman
Автор

polars is super nice to work with, did some data analysis in the last few months. Combined with marimo notebooks it felt like super powers 😅

knolljo
Автор

This is great very easy to understand and do ETL using Polars

blackice
Автор

I really love your videos, and your approach, but I wish people would highlight the LazyFrame and that way of thinking as it's actually the intro point to polars rather than the pd.Dataframe

korganthemediochre
Автор

Thank you for introducing new library❤

Pradeep_prasad
Автор

I have been using pandas for years and was waiting to switch to polars which I started to do this year. Lots of pandas scripts to migrate!! I do enjoy Polars even small things like showing strings in “” helps. But some methods seem more verbose than needed and there are some conversations that seem to have been changed unnecessarily. On Nulls very happy to move always from Pandas hellish null handling.

smellypunks
Автор

am at 15:00 enjoying it so far what a great tutorial thanks for it why does polars seem better then pandas

ahmedbadal
Автор

Been using Polars for about a year, and I can't see myself using pandas again. Way faster at basically everything, and even though the code can end up looking quite verbose the syntax comes much more naturally to me. Lacking a built-in plot method was the only snag, but it has that now.

And as you said, I'm sure there are some integrations with other libraries that might not work, but there's always the to_pandas method.

tmb
Автор

Can't use htmx and jquery together for a dropdown in django? I added a htmx get request to a dropdown. But when I use jquery select2 plugin for the dropdown, htmx get not working

yasithawijethunga
Автор

Thanks 🎉
(select, filter, with_columns, groupBy, …) seems like Spark 😅

lhassanaitmouss
Автор

Looks really cool too bad I'll never get a tech job

NoName-lqkt
join shbcf.ru