SQL Queries For Pandas DataFrames

  Рет қаралды 32,948

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 24
@OhItsAnthony
@OhItsAnthony 2 жыл бұрын
Have you used the ibis library? It's kind of the opposite to pandasql in that it enables you to write SQL queries in Python. Might make for an interesting companion video to this one.
@OmarGhani-z4u
@OmarGhani-z4u Жыл бұрын
Thanks for the video, what is the purpose of the locals() method within the ps.sqldf query?
@РодионСоловьев-к1ч
@РодионСоловьев-к1ч 2 жыл бұрын
it seems a better video title would be "SQL Queries Between Multiple Pandas DataFrames" because pandas already supports SQL queries using sqlalchemy or sqlite connections
@Ubhi-tp7qz
@Ubhi-tp7qz Жыл бұрын
Hi!, i have question, i have stored xlxs file to blob sql, how to read that with pandas? Thank You :)
@Ultrajamz
@Ultrajamz Жыл бұрын
I’ve had issues with pandasql and had to limit the version of sqlachemy to get it to work
@ragnarocking
@ragnarocking 2 жыл бұрын
This is a great tutorial. Is there any way to increase performance? It seems like it can only query the dataframe once per second. In my scenario, I've loaded a ~400MB database of stock data into a pandas dataframe and need to run about 28k queries (one for each stock symbol). In total, it takes about 8hrs. Thanks!
@donnillorussia
@donnillorussia Жыл бұрын
Oh, please, just use classic relational database and do some corellated subqueries or something... Learn some old-school basics, not only top-level fancy code. No library can "optimize" your lack of knowledge
@ragnarocking
@ragnarocking Жыл бұрын
@@donnillorussia gee, abrasive much? Nice personality you have there. It's a 3rd party host. I obviously know SQL otherwise I wouldn't be entertaining the idea of using this python package to begin with. A relational database is overkill for my needs and would cost me a small amount extra in hosting fees every month. I thought I'd explore alternatives.
@j.k.priyadharshini9753
@j.k.priyadharshini9753 Жыл бұрын
@@ragnarocking Hi, Iam going through same issue. Did you find out any solution to this?
@assavinkengkart9141
@assavinkengkart9141 2 жыл бұрын
This is great library. Thank for sharing.
@flyingspaghettimonster2925
@flyingspaghettimonster2925 2 жыл бұрын
What does locals() do
@tomliao6667
@tomliao6667 2 жыл бұрын
prevent you from using global variable to do SQL query
@8irsan8
@8irsan8 2 жыл бұрын
just what I need. Awesome.
@sawekb8102
@sawekb8102 2 жыл бұрын
How ithis sql querry is connected to the data? I cant understand it.
@phsopher
@phsopher 2 жыл бұрын
why tho?
@adnanqudsi9604
@adnanqudsi9604 Жыл бұрын
hii, thnx for the video but can anyone here help mw out with, why do we actually need to use sql queries in our python pandas based program provided we can do the same thing without it?? i mean what is the purpose of it?? if anyone can give clarification over this matter, it would be really helpful. thank you.
@calvingadson7863
@calvingadson7863 2 жыл бұрын
Thank you!
@rohamhadidchi1196
@rohamhadidchi1196 Жыл бұрын
Thank you so much for this
@chriskeo392
@chriskeo392 2 жыл бұрын
SQL queries to Vaex next?!?!
@PedroAnacletoOficial
@PedroAnacletoOficial 2 жыл бұрын
awesome stuff
@tomkmb4120
@tomkmb4120 6 ай бұрын
Seems like Pandas Query is simpler/cleaner imo
@Dr.AhmedQusaySabri
@Dr.AhmedQusaySabri Жыл бұрын
Thanks a lot
@guilherme5094
@guilherme5094 2 жыл бұрын
👍
@hasindusithmin1074
@hasindusithmin1074 2 жыл бұрын
👀👌
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 279 М.
Make SQL Queries Secure in Python
18:24
NeuralNine
Рет қаралды 18 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 223 М.
Pandas Query Filter Function Guide [Beginner Friendly]
14:46
Ryan & Matt Data Science
Рет қаралды 4,6 М.
SQL Databases with Pandas and Python - A Complete Guide
16:59
Rob Mulla
Рет қаралды 146 М.
Learning Pandas for Data Analysis? Start Here.
22:50
Rob Mulla
Рет қаралды 127 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 821 М.
Programming Is NOT Enough | Add these 7 skills…
13:19
Travis Media
Рет қаралды 423 М.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 232 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 444 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН