Merging DataFrames in Pandas | Python Pandas Tutorials

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 74

  • @JW-pu1uk
    @JW-pu1uk Год назад +37

    This is such a solid explanation on this. If someone is familiar with SQL JOINS, they should feel right at home here (with a few exceptions of course). Don't sleep on Pandas, and don't sleep on AtA videos.

  • @SamiMouloudMerkouche
    @SamiMouloudMerkouche Год назад +7

    Im datascience learner I use datacamp as my learning platform and your video has helped a lot with that.Thanks for the amazing explanation and keep going we need more people like you.

  • @nobodyonlyboss
    @nobodyonlyboss 2 дня назад

    It feels soothing to see your appearence after going through some newly oriented tasks...

  • @sj1795
    @sj1795 11 месяцев назад +4

    Really appreciate how you explain these concepts so clearly. As always, THANK YOU ALEX! You are the BEST!

  • @Richardo-o3z
    @Richardo-o3z 2 месяца назад

    Right away from Ghana , every bit of your explanation is on point and you have had so much impact on my journey as a data analyst. Thank you Alex

  • @casual_gaming001
    @casual_gaming001 Год назад +2

    Thanks alot, i have been on youtube and Stack overflow all evening. Best explanation

  • @bhavikakapadia2497
    @bhavikakapadia2497 Год назад +8

    Thanks Alex for the amazing Explanation. I learn a lot by watching your video. Are we expecting more pandas tutorials in the upcoming video?

    • @AlexTheAnalyst
      @AlexTheAnalyst  Год назад +2

      Yep! I've got about 3 more including visualizations, data cleaning, and data exploration :)

  • @carmelool1
    @carmelool1 8 месяцев назад +1

    Excellent Video. Very well explained. Thanks for doing it.

  • @OliviaWu-q9z
    @OliviaWu-q9z 11 месяцев назад +1

    This is so helpful. Thank you!

  • @venudunde3453
    @venudunde3453 Год назад +2

    thanks Alex, nice explanation

  • @JaimeHaddad
    @JaimeHaddad Год назад +3

    Thank you Alex ! Well explained and very simple to understand ! Great as always!! 👏

  • @abdulkadirguven1173
    @abdulkadirguven1173 Год назад +1

    Nice tuto. Thank you very much.

  • @djitymik
    @djitymik Год назад +1

    You nailed it! Thank u very much sir!!!

  • @БулатШарафутдинов-р6д

    Thank you!)

  • @vijayj8024
    @vijayj8024 Год назад +3

    Thank you alex. You are amazing....

  • @Niranga.555
    @Niranga.555 Год назад +3

    Dear Alex,
    Thanks for your nice explanation..!

  • @levimungai1846
    @levimungai1846 2 месяца назад +3

    This is set theory... union, intersection, set difference and cross product

  • @chingchan3000
    @chingchan3000 2 месяца назад

    you explain better than my professor....thank you!

  • @aissamboudra7995
    @aissamboudra7995 Год назад +1

    Many thanks, clear and useful

  • @midohany9
    @midohany9 Год назад +1

    Thanks for the amazing explanation. This is the first playlist I know you from and Your way of illustration is pretty simple and helped me get confusing pandas terms. Many thanks again ❤

  • @ElBasraoui
    @ElBasraoui 7 месяцев назад +2

    bro I'm a data scientist student, it's the first time I understand that in such a stunningly beautiful way

  • @femikomolafe5604
    @femikomolafe5604 Год назад +2

    Wished I saw this video earlier....I would have saved days of wasted hours with simple concatenate function. Tnk Alex

  • @pavithras4085
    @pavithras4085 8 месяцев назад +1

    Many Thanks for this clear explanation :)

  • @thaonguyen-xu2tw
    @thaonguyen-xu2tw 4 месяца назад

    hi, thank you for the explanation. I liked it already but still want to comment to appreciate your effort.

  • @neildelacruz6059
    @neildelacruz6059 Год назад +1

    Excellent Thanks

  • @anurasenarathna1703
    @anurasenarathna1703 7 месяцев назад +1

    Very useful series, very well explained. Thank you very much for sharing your knowledge.

  • @pamm6281
    @pamm6281 5 месяцев назад +1

    Well Explained Sir.... Thanku so much

  • @chamo7110
    @chamo7110 8 месяцев назад +1

    You have a new subscriber here

  • @shadrinan90
    @shadrinan90 5 месяцев назад

    Thank you for concise and interesting video. I ve learned everything I wanted

  • @Daniel-me6mu
    @Daniel-me6mu 3 месяца назад

    Love this explanation. It will help me to go through my exam :))

  • @vidyutroy2868
    @vidyutroy2868 4 месяца назад

    thank you for sharing such tutorials

  • @t_millagain5255
    @t_millagain5255 Год назад +1

    Definitely what i needed 👍🏽

  • @albertneil290
    @albertneil290 10 месяцев назад

    Awesome ❤❤
    Very well explained.....

  • @josemariahernandezlara4061
    @josemariahernandezlara4061 Год назад +1

    The best!

  • @abdullahmirza7606
    @abdullahmirza7606 Год назад +1

    Alex the king 👑👑

  • @khadijashaikh9617
    @khadijashaikh9617 4 месяца назад

    please make a video on numpy library in python

  • @vintage_anime_vault
    @vintage_anime_vault 5 месяцев назад

    wonder how many Data Analysts you made out there !!

  • @stanTrX
    @stanTrX 2 месяца назад

    Thanks. What do you think about capability of these compared to power query in excel?

  • @garry6882
    @garry6882 2 месяца назад

    how do you put image in the notebook?

  • @stefanvilcu8260
    @stefanvilcu8260 11 месяцев назад

    wonderful video

  • @angelinesworld5841
    @angelinesworld5841 4 месяца назад

    Need notes for this. Could you please share this

  • @ReadyF0RHeady
    @ReadyF0RHeady Месяц назад

    can i also do it with json files or do they need to be csv files ?

  • @sandeepmanjunath8004
    @sandeepmanjunath8004 Год назад +1

    Just one doubt is it possible to join on any condition other than equality condition in pandas like we do in SQL for example T1.Col1 < T2.Col1

  • @SieanElpidama
    @SieanElpidama 7 месяцев назад

    Qestion is there a function of merge as well in Sql specifically PostgeSQL?

  • @monique1112223
    @monique1112223 11 месяцев назад

    I got an error message on the cross join and it isn't visible in the menu with SHIFT + TAB either. Interesting.

  • @osiomogieasekome8799
    @osiomogieasekome8799 Год назад +1

    I don't know if its because I learnt sql first but I feel its more straight forward than python... Also doing this a month later, the append still works without any warning 😅 I wonder python would decide to remove

  • @beingotaku9864
    @beingotaku9864 Год назад +14

    Merge is bettter hands down.

  • @hafsaabdullahi1250
    @hafsaabdullahi1250 Месяц назад

    Am unable to import the dataset am getting the error 'str' object is not callable. what could be the issue?

  • @rashadkasim
    @rashadkasim Год назад

    Can we do 2 dataframes side by side in pyspark? Similar to concatenate here

  • @winaraj
    @winaraj 7 месяцев назад

    merge doesnt work in vsc? says no attribute

  • @guocity
    @guocity 9 месяцев назад

    how to do union in dataframe?

  • @ArtyomAshigov-l8j
    @ArtyomAshigov-l8j Год назад +3

    I watched other videos about Pandas, they were really good.
    I just wrote a comment here, that was probably deleted and I am not sure why

    • @AlexTheAnalyst
      @AlexTheAnalyst  Год назад +3

      Had an issue with my first video and had to reupload - thanks for watching! :D

  • @sachinmaroky4600
    @sachinmaroky4600 Год назад

    thank you

  • @shalinivijayravikumar9713
    @shalinivijayravikumar9713 Год назад +1

    "Hi Alex, could you please upload a video on NumPy for beginners? It would be incredibly helpful for me, and I would greatly appreciate it."

  • @the_seahawk22
    @the_seahawk22 Год назад

    wait how did you get the file path link? Sorry I am not computer savy

    • @shivamborkotoky3788
      @shivamborkotoky3788 Год назад

      after you download the file from the given link in description, copy the file path from your pc

  • @yilmazah
    @yilmazah 2 месяца назад

    Selam. Oglun cok sansli, ona duskun bir babasi var masallah

  • @مسافر-ح2ط
    @مسافر-ح2ط 7 месяцев назад

    Alex tell me the truth, are you a divine angel?

  • @garvjain3462
    @garvjain3462 Год назад +2

    🎯 Key Takeaways for quick navigation:
    Merging, joining, and concatenating data frames in Pandas is crucial for combining separate data frames into one.
    Types of joins: inner join (default), outer join, left join, and right join.
    Cross join compares each value from the left data frame with every value from the right data frame.
    The join function is used to join data frames based on specified indexes, but it requires more manual configuration compared to the merge function.
    Concatenation places one data frame on top of another (vertically) or side by side (horizontally).
    The append function is deprecated and should be replaced with the pandas.concat function for appending rows from one data frame to another.
    Understanding these operations is essential for working with multiple data sources in Pandas.
    Made with HARPA AI

  • @hello-fs9bt
    @hello-fs9bt 5 месяцев назад

    Thank you very much! I don't know how to tell you how much this video help me but you just saved me a lot of time! Very well-explained, easy to understand! I wish you all the good things in life.

  • @anikkantisikder2179
    @anikkantisikder2179 Год назад

    Great

  • @milanvulic7947
    @milanvulic7947 2 месяца назад

    Barromir :O

  • @akzork
    @akzork Год назад

    Dark mode when?

  • @mdsy2707
    @mdsy2707 11 месяцев назад

    1:38
    😂🤣🤣

  • @patrickmeehan6856
    @patrickmeehan6856 Год назад +2

    Barromir= Boromir

  • @ankuryadav9908
    @ankuryadav9908 Месяц назад +1

    #append_is_no_more

  • @jameelabduljalil25
    @jameelabduljalil25 Год назад

    I thought Lord of the Rings sponsored this video.

  • @_sweeteststarr
    @_sweeteststarr 7 месяцев назад

    Legolas 😂😂

  • @soundmagus
    @soundmagus 3 месяца назад

    Hey Alex, thanks for these videos they are great :) However i am getting different results from you when using df1.merge(df2), its showing IDs 1001,2,6,7,8 - and i cant figure out why, has soimething changed in the most up to date python? (also shows the same if i use df1.merge(df2, how = 'inner', on = ['FellowshipID', 'FirstName'])but with _x and y_ for Age.
    FellowshipID FirstName Age_x Age_y
    0 1001 Frodo 50 50
    1 1002 Samwise 39 39
    2 1006 Legolas 2931 2931
    3 1007 Elrond 6520 6520
    4 1008 Barromir 51 51