Real-World Dataset Cleaning with Python Pandas! (Olympic Athletes Dataset)

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

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

  • @KeithGalli
    @KeithGalli  6 месяцев назад +19

    Thank you everyone who tuned in today!!

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

    I really thank god that I found your channel thanks for sharing knowledge and keep uploading

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

    Fabulous session. Thanks Keith 👍

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

    Such a great tutorial Keith. Please keep uploading such high quality videos on Pandas and many more

  • @marcinjagusz2481
    @marcinjagusz2481 6 месяцев назад +2

    Thanks Keith! I know it takes some time to prepare and record such staff, but please upload more of Python coding!

    • @KeithGalli
      @KeithGalli  6 месяцев назад +3

      will try to keep them coming!

  • @chenjackson6001
    @chenjackson6001 5 месяцев назад +2

    感谢你的辛苦付出

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

    we need more like this videos and work on real world data

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

    watching from Zambia 🇿🇲

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

    Hi Keith, watching this video and following along. Just wondering if when we got the fillna code from chat gpt if we should have applied that to our original data frame? Loving the content!

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

    thank you

  • @AndyJagroom-ur7xh
    @AndyJagroom-ur7xh 3 месяца назад +1

    Can you do an update on the numpy video, thank you so much for these videos it helped me a lot ❤

  • @AndyJagroom-ur7xh
    @AndyJagroom-ur7xh 3 месяца назад +1

    What's your laptop? Cool videos BTW

  • @Hamsters_Rage
    @Hamsters_Rage 5 месяцев назад +3

    29:26 - he starts writing some code

  • @danprovost8232
    @danprovost8232 6 месяцев назад +1

    Great stream this was very helpful! Keep up the good work!

  • @Kira-vs4np
    @Kira-vs4np 5 месяцев назад

    just a note, at 1:19:21 the format = "mixed" isn't really working for me, and it fills the date_born column with NaT values. So, I tried format = "%d %B %Y" and it works

  • @067-ashish7
    @067-ashish7 6 месяцев назад +2

    Please Upload more videos related to data cleaning

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

    okay i need full course on data science

  • @SangNguyen-bu8xd
    @SangNguyen-bu8xd 4 месяца назад

    Amazing thank u sir

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

    Should i always drop the rows containing null values and then perform the further analysis???

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

      not necessarily it depends you see in case of doing the same kind of cleaning for machine learning dropping an entire col can cause loss of data that might have helped in pattern recognition of the ml algorithm so you can use other methods to handle missing values for that case but i think its better to just handle them seperately rather than just drop an entire coln even tho that is a possible approach for smaller datasets so its case by case basis but as i am analysing this dataset now i see a few colns with excessively large amounts of null values so i think its okay to drop them. Cheers

  • @chillydoog
    @chillydoog 6 месяцев назад +1

    Hawaiian shirt and Twisted Tea! My man

    • @KeithGalli
      @KeithGalli  6 месяцев назад +1

      hawaiian shirt yes, but sorry to disappoint just a standard sparkling water I'm drinking haha

    • @chillydoog
      @chillydoog 6 месяцев назад +1

      @@KeithGalli 😉

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

    Thank you man

  • @Kidpambi
    @Kidpambi 6 месяцев назад

    Thanks a lot man

    • @KeithGalli
      @KeithGalli  6 месяцев назад

      you're very welcome!

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

    Where can we find the dataset?

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

    HATS OFF TO YOU BRO..........BRING SOME REAL LIFE PROBLEMS AND END TO END PROJECTS RELATED. TO DATA SCIENCE

  • @ramarisonandry8571
    @ramarisonandry8571 6 месяцев назад

    From Madagascar

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

    Hi Keith,
    This code handles the issue will:

    # Split column 'Measurements'to height_cms and weight_kgs

    dfCpy['height_cm'] = None # add a blank column to store height
    dfCpy['weight_kgs'] = None # add a blank column to store weight

    # Extract height and weight information
    dfCpy['height_cm'] = dfCpy['Measurements'].str.extract(r'(\d+) cm', expand=False).astype(float)
    dfCpy['weight_kgs'] = dfCpy['Measurements'].str.extract(r'(\d+) kg', expand=False).astype(float)
    dfCpy

  • @sebastianalvarez1537
    @sebastianalvarez1537 6 месяцев назад

    holy fuq

  • @SAGAR-ox6ks
    @SAGAR-ox6ks 6 месяцев назад

    i did chatgpt for the questions that you framed and it is showing same solution , i could have easily done chatgpt rather than seing this video just download the dataset and put some rows of the dataset in chatgpt and put all the frames question they will be same as in this video for 2 hrs, it took 5 min for chatgpt to do..

    • @mohammadsamir2713
      @mohammadsamir2713 5 месяцев назад +4

      If you're not going to support people efforts, at least don't disappoint them

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

      Yeah, but what are you going to do when ChatGPT can’t save you? You didn’t “easily” do the task at hand… you made someone/something else do it. Maybe data analyzing isn’t your thing. Perhaps consider being a LLM-expert instead 😊

  • @youcefbouras-f1s
    @youcefbouras-f1s Месяц назад +1

    that's what i used :
    # Parse out dates from Born and Died
    df['Born Date'] = df['Born'].str.replace(r'in.*','', regex=True)
    df['Death Date'] = df['Died'].str.replace(r'in.*','', regex=True)

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

    Great! For height/weight parts, it's a bit longer, there be some simple solution
    measure_pattern = r'(?:(\d+)\s*cm)?(?:\s*/\s*)?(?:(\d+)\s*kg)?'
    df[['height', 'weight']] = df['Measurements'].str.extract(measure_pattern)