Kaggle's 30 Days Of ML (Day-5, Part-2): Python Loops and List Comprehension

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 17

  • @abhishekkrthakur
    @abhishekkrthakur  3 ปีที่แล้ว +5

    If you like the videos, please do consider subscribing. It helps me keep motivated to make awesome videos like this one. :)

  • @shahid88084
    @shahid88084 3 ปีที่แล้ว +1

    I don't have words to appreciate you. I liked your way of teaching well abhishek

  • @duykhanhpham5803
    @duykhanhpham5803 2 ปีที่แล้ว

    thank you so much for such exceptional explanation

  • @mehboob_h
    @mehboob_h 3 ปีที่แล้ว +1

    Thank you so much to take your personal time to explain things in detail

  • @lokendrayadav4980
    @lokendrayadav4980 3 ปีที่แล้ว +1

    Learn from a best to become a best. hurrah!!!!

  • @deepakdas8884
    @deepakdas8884 3 ปีที่แล้ว +1

    what a tutorial :) , awesome Abhishek

  • @mananshah7095
    @mananshah7095 3 ปีที่แล้ว +1

    Absolutely top class!
    One question. When will your second book be available? 😭
    Approaching any Nlp problem?

  • @akshaychoudhary5770
    @akshaychoudhary5770 3 ปีที่แล้ว +2

    LEARNING EVERYDAY

  • @alwikah5664
    @alwikah5664 3 ปีที่แล้ว +2

    Top!

  • @leduc6204
    @leduc6204 3 ปีที่แล้ว +1

    can you help me with this question: If I only had a list of arrivals, how do I define a function which returns the name of the guests who are fashionably late.
    eg: arrivals = ['Adela', 'Fleda', 'Owen', 'May', 'Mona', 'Gilbert', 'Ford']
    I can only return Mona, but not Gilbert.
    Thank you so much sir. Here is my code
    def late_guests(arrivals):
    for name in arrivals:
    if name == arrivals[-1]:
    return False
    elif arrivals.index(name) >= len(arrivals)/2:
    return name

    • @leduc6204
      @leduc6204 3 ปีที่แล้ว

      I finally find the answer for this question thanks to this video. Again, thank you sir for such a comprehensive video. Here's my answer:
      arrivals = ['Adela', 'Fleda', 'Owen', 'May', 'Mona', 'Gilbert', 'Ford']
      names = []
      def late_guests(arrivals):
      for name in arrivals:
      if arrivals.index(name) >= len(arrivals)/2 and arrivals.index(name) < len(arrivals)-1:
      names.append(name)
      return names

  • @sianoikimari
    @sianoikimari 3 ปีที่แล้ว

    Do I need to get exactly 0.025 in order for the exercise to be marked as complete?

  • @nehaalabbaas3139
    @nehaalabbaas3139 3 ปีที่แล้ว

    Sir, I could not understand the question of Short-Planets, will you please explain me in the comment section

    • @user-qj4zr1pj9y
      @user-qj4zr1pj9y 3 ปีที่แล้ว

      Basically you have to just return out the planets whose size is less than 6 (6 characters) in the list planets..