Merge Pandas Dataframes

Merge Pandas Dataframes

Rob Mulla

1 год назад

48,890 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Pablo Bianchi
Pablo Bianchi - 03.11.2023 06:15

Can we call it reconciliation?

Ответить
Pablo Bianchi
Pablo Bianchi - 24.10.2023 05:39

Did you mean on='customer_id'?

Ответить
KIRAN
KIRAN - 16.06.2023 21:13

literaaly pandas mege is exclusively used by us in banking on everyday basis.

Ответить
Dirga Febrian
Dirga Febrian - 21.04.2023 13:43

Still use sql query to join, I'll try it next, thanks!

Ответить
Johnny Sack
Johnny Sack - 12.04.2023 22:13

Its a must know for SQL and relational databases too

Ответить
William Ezecheta
William Ezecheta - 04.04.2023 12:09

Please which platform are Yu running this python on?

Ответить
Yassou1985
Yassou1985 - 17.03.2023 14:04

How to use SQL with python 😂

Ответить
Lucas NG
Lucas NG - 13.03.2023 17:14

Whats the difference between merge and join on pandas. And could you make a video of those commands using polars?

Ответить
Matrix Neo
Matrix Neo - 12.03.2023 01:19

Cust id is abcd lol

Ответить
Kiron Mateti
Kiron Mateti - 05.03.2023 05:46

Perfect loop! Very useful content!

Ответить
Mandata
Mandata - 16.02.2023 20:05

More of this content Sir! This is undeniably fun to learn. 😍

Ответить
Data Flex
Data Flex - 12.02.2023 20:42

Beautiful Videos Man

Ответить
YK
YK - 12.02.2023 07:20

You missed Pandas join function

Ответить
Diaconescu Tiberiu
Diaconescu Tiberiu - 10.02.2023 19:55

Lol. Today, i spent 6h on a merge, and now you make this video. Here is an idea for a future video I'd like to see from you: Table 1 has a few columns representing different types of analysts. The actual values are not their names but ids. Table 2 has (obviously) an id column, FirstName and LastName. I don't want a simple merge. I want a mapping. I want Table 1's ids to be replaced with (corresponding FullNames). Throw in some condiments as well, like: columns in table 1 have in fact the ids stored as strings while Table 2 Id column has int64

Ответить
Martin
Martin - 10.02.2023 15:55

Merge is great but what if you want to merge two dataframes that have slightly different string values on the column you want to merge? I am in the situation where I have one large dataframe (>60k rows) and one small (200 rows) and I want to merge a certain column of the 60k dataframe to the 200 row dataframe. I know that both dataframes have a column that share almost the same values ( Example: DF1 Column A = 'Dogs', DF2 Column A = 'Dog' ) Any tips on how to merge those? tried to clean the data with fuzzy matching, but that took to long, because my dirty dataframe has over 60k rows. Any tips are welcome!

Ответить
Chandan K
Chandan K - 10.02.2023 07:21

Thanks Rob!
Also in Tableau, we can do it easily

Ответить
João Roberto Wasem
João Roberto Wasem - 10.02.2023 06:07

Shouldn't we be using concat instead?

Ответить
Bashar Attar
Bashar Attar - 10.02.2023 02:11

I like the indicator trick!! Thank you for sharing

Ответить
Gabriel Zinato Rosa
Gabriel Zinato Rosa - 10.02.2023 02:05

This video is an infinite loop! 🤯 it ends with "so now you know why..." and begins with "this technique is a must know for working with dataframes in Python" 👍🏻

Ответить