Polars Is The Faster Pandas

  Рет қаралды 13,161

NeuralNine

NeuralNine

Күн бұрын

In this video, we learn about Polars, the dataframe library that could replace Pandas due to its efficiency.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💼 Services 💼
💻 Freelancing & Tutoring: www.neuralnine.com/services
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord

Пікірлер: 32
@CynicAtLarge
@CynicAtLarge Ай бұрын
I moved my entire stack to Polars from Pandas in the past month. It is more intuitive (I am a relatively new programmer), much faster, has a cleaner API and integrates better with databases. If you are just getting going on data analysis you should start with Polars. And there are plenty of resources out there to help you if you want to migrate.
@tigerbojiteol
@tigerbojiteol Ай бұрын
I have been heavily using pandas, polars, and duckdb and heres my two cents. 1. If you need dataframe to work with, you should go with polars no doubt. For certain cases, you may have to convert df from polars to pandas but that’s quite rare and that should be done at the end anyway if necessary. 2. If you need fast query to analyze, go with duckdb. You can directly use polars and pandas objects in memory to crunch data. Very light, fast and efficient. 3. Know how to use all these stacks. Don’t just stick with one only.
@SpacemanY2K38
@SpacemanY2K38 17 күн бұрын
Brah, you are in 2050, I barely see people commenting on the topic. Kudos!
@AlexGarcia-ir7fl
@AlexGarcia-ir7fl Ай бұрын
Great timing, I was just looking for a polars video.
@ronwilliams4184
@ronwilliams4184 Ай бұрын
Thanks - I rely on videos like yours to keep up with what's new.
@HelmutQ
@HelmutQ Ай бұрын
I also do enjoy your occasional more exploratory and less explanatory videos. They are a motivation to go out and explore the "wonders of the world" and acquire the more in-depth insight by oneself. This applies to both Polars and Huggin. Thank you for having drawn my attention to both. But I also do appreciate the videos in which you take the viewers by the hand. In particular with polars a hands-on video would definitely interest me. Your channel is amazing, rich, in-depth, no-nonsens. By now your some 800 Videos provide more information than I was presented with in years of studying in the 80s at your same university. You truely enrich the world. Big achievment at your age. We are living in truely exciting times. A bottom up approach based on first principles has for a long time been a driver for human intellectual developement, I'd say ever since Newton. AI allows us to tackle problems which are either not governed by first principles such as Newtons, Maxwells, Einsteins, Feynmann laws, maths and mathemetical and logical proofs or where following the way from first principles to tangible and useful application is beyond our scope and maybe possibly forever. It allows as to deal with chemistry and biology, consciousness. There is a lot more to AI than just writing amazing programs like the ones you show. I wish to live on for quite another while to see this new form of thought evolve. Your videos make and keep me curious. I see things today I'd have considered SciFi until very recently.
@ajax0116
@ajax0116 Ай бұрын
I started using it this month, even taking documentation from pandas projects and translating them with cluade and ChatGPT. Still use datareader to pandas to polars.
@Epic-Poetry
@Epic-Poetry Ай бұрын
This is an excellent topic for a vid. I've not switched yet. Pandas2 is pyArrow just to reiterate the point, but it's not distributed. My bet is that pandas2 will catch up at pandas3, it's got a massive following and under active development. I've attended one of original pandas public meeting prior pandas2 and their direction of travel is clear. Agreed on the apply function in pandas and its a great point to make in the video.
@Simulation_modelling
@Simulation_modelling 9 күн бұрын
Vielen dank!:)
@dipeshsamrawat7957
@dipeshsamrawat7957 Ай бұрын
Keep it up 💯
@elmaestroco
@elmaestroco Ай бұрын
Given the good press, I've tried to use Polars on a huge dataset. Unfortunately, I couldn't even read my data in, as no API was available. There isn't a file extension that you won't be able to read with Pandas. At this point, Pandas remains the better choice given its compatibility with the Python data science ecosystem.
@Tom-wm4gy
@Tom-wm4gy Ай бұрын
Wow! Mindblowing stuff... Thank you so much for this... Perfect tutorial...
@ImoodyI
@ImoodyI Ай бұрын
That polar case statement looked a lot like a SQL statement
@TheEcherriman
@TheEcherriman Ай бұрын
Thanks. Are there any Technical Analysis libraries please ?
@tthcan8038
@tthcan8038 Ай бұрын
I guess TA-Lib is what you are looking for
@TheEcherriman
@TheEcherriman Ай бұрын
@@tthcan8038 Yes, the equivalent of pandas-ta
@mystackquest
@mystackquest Ай бұрын
Duckdb is nx faster pandas 😅. Create one more video about Duckdb
@ixternal9295
@ixternal9295 Ай бұрын
Pandas has a ton of useful features that polars lacks. Last time I used polars, reading in excel files and dealing with dates, especially dates with inconsistent formatting, was a major hassle. People like to shit on the pandas API but I don't find polars that much better. Good thing there's duckdb that you can use on top of both. Troubleshooting will be much easier and faster with pandas due to its immense popularity. It almost feels like polars is for the rare edge case where you have too much data for pandas to handle efficiently, but not enough data to warrant using distributed computing. Good for pipelines in certain cases but not necessarily EDA imho.
@thyche7866
@thyche7866 Ай бұрын
Which edge that polars had over pandas that do you think its better?
@CaribouDataScience
@CaribouDataScience Ай бұрын
Polars wants to be Tidyverse when it grows up😮
@mortezanaghavimoghadam8258
@mortezanaghavimoghadam8258 Ай бұрын
0:40 and also it is easier to use and more human-readable
@Singlton
@Singlton Ай бұрын
please , data engineering with Polars using rust!
@eboyd53
@eboyd53 Ай бұрын
I see a transformative package so that code can remain unaffected and all that changes is the import.
@luckylokhande1574
@luckylokhande1574 Ай бұрын
Its statement are more familiar with pyspark one
@philtoa334
@philtoa334 Ай бұрын
Thx_.
@nocopyrightgameplaystockvi231
@nocopyrightgameplaystockvi231 Ай бұрын
Polars uses multiple cores
@dipeshsamrawat7957
@dipeshsamrawat7957 Ай бұрын
Thanks to mention it. 😊
@user-pg8qe1zo4j
@user-pg8qe1zo4j Ай бұрын
Well if we work on low end cpu will it make much difference
@denisblack9897
@denisblack9897 Ай бұрын
Why bother? 😅 Obvious waste of time that you gonna revert right when tou encounter some unsolvable issue
@kmbelly6356rt
@kmbelly6356rt Ай бұрын
exactly❤ not every shiny stone is gold.
DuckDB vs Pandas vs Polars For Python devs
12:05
MotherDuck
Рет қаралды 15 М.
Debugging 101: Replace print() with icecream ic()
12:36
NeuralNine
Рет қаралды 362 М.
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,4 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 114 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 11 МЛН
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
10 weird algorithms
9:06
Fireship
Рет қаралды 1,2 МЛН
Complete Python Pandas Data Science Tutorial! (2024 Updated Edition)
1:34:11
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 136 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 474 М.
Polars - An Optimized Dataframe Library - Matt Harrison
1:23:40
bostonpython
Рет қаралды 739
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 294 М.
Can AI code Flappy Bird? Watch ChatGPT try
7:26
candlesan
Рет қаралды 9 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 7 МЛН
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 4,6 МЛН
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 716 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 64 МЛН