Python Pandas Tutorial 2: Dataframe Basics

Поделиться
HTML-код
  • Опубликовано: 27 июл 2024
  • This pandas tutorial covers basics on dataframe. DataFrame is a main object of pandas. It is used to represent tabular data (with rows and columns). This tutorial will go over,
    1) What is dataframe?
    2) Create dataframe from csv file and python dictionary
    3) Dealing with rows and columns
    4) Operations: mean, max, std, describe
    5) Conditional selection
    6) set_index function and usefulness of it
    Topics that are covered in this Python Pandas Video:
    0:00 Introduction
    0:15 What is Dataframe?
    2:02 Import pandas in jupyternotebook
    3:34 Create dataframeusing python dictionary
    5:15 Use head() method
    5:52 Use tail() method
    6:10 Use Indexing and slicing in dataframe
    8:12 Insert new cell in current cell
    8:39 What is the type of your dataframe?
    10:01 Operations with your dataframe
    10:34 Use max() method
    11:02 Use mean() method
    11:11 Use min() method
    11:23 Use describe() method
    12:12 Conditional select the data in your dataframe
    14:55 Pandas operations list
    15:41 Use set_index() method
    18:12 Use reset_index() method
    Code: github.com/codebasics/py/tree...
    Do you want to learn technology from me? Check codebasics.io/?... for my affordable video courses.
    Next Video:
    Python Pandas Tutorial 3: Different Ways Of Creating DataFrame
    • Python Pandas Tutorial...
    Very Simple Explanation Of Neural Network: • Neural Network Simply ...
    Popular Playlist:
    Complete python course: • Python 3 Programming T...
    Data science course: • Data Science Full Cour...
    Machine learning tutorials: • Machine Learning Tutor...
    Pandas tutorials: • Pandas Tutorial (Data ...
    Git github tutorials: • Git/Github Tutorial
    Matplotlib course: • Matplotlib tutorial
    Data structures course: • Data Structures And Al...
    Data Science Project - Real Estate Price Prediction: • Machine Learning & Dat...
    To download csv and code for all tutorials: go to github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.
    🌎 My Website For Video Courses: codebasics.io/?...
    Need help building software or data analytics and AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
    #️⃣ Social Media #️⃣
    🔗 Discord: / discord
    📸 Dhaval's Personal Instagram: / dhavalsays
    📸 Codebasics Instagram: / codebasicshub
    🔊 Facebook: / codebasicshub
    📱 Twitter: / codebasicshub
    📝 Linkedin (Personal): / dhavalsays
    📝 Linkedin (Codebasics): / codebasics
    🔗 Patreon: www.patreon.com/codebasics?fa...

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

  • @codebasics
    @codebasics  2 года назад +4

    Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced

  • @reeshatkhan9353
    @reeshatkhan9353 3 года назад +47

    Highly recommended to those who are searching for the perfect tutorial on Pandas! He literally reads a learners mind!

  • @codebasics
    @codebasics  5 лет назад +2

    Machine learning tutorials with exercises:
    ruclips.net/video/gmvvaobm7eQ/видео.html
    Step by step roadmap to learn data science in 6 months: ruclips.net/video/H4YcqULY1-Q/видео.html

  • @codebasics
    @codebasics  4 года назад +6

    Step by step roadmap to learn data science in 6 months: ruclips.net/video/H4YcqULY1-Q/видео.html
    How to learn coding for beginners | Learn coding for free: ruclips.net/video/CptrlyD0LJ8/видео.html

  • @coinsec
    @coinsec 7 лет назад +174

    What a legend, explains it so well. Exactly what I needed. Thanks

    • @zerostudy7508
      @zerostudy7508 5 лет назад +10

      Comment==True

    • @m.arsalanbabar3303
      @m.arsalanbabar3303 3 года назад +1

      ruclips.net/video/dXVTRrxcOWY/видео.html
      Who should file Return of Income according to law
      Please like, comment, share and subscribe.
      Thank you

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

      @@zerostudy7508 in

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

      Actually a great beginners tutorial

  • @thecaveofthedead
    @thecaveofthedead 6 лет назад

    These are so great. I've been looking all over for the best introduction as a person converting from Excel, and yours is way better than others I've come across.

  • @nishushroff9656
    @nishushroff9656 2 года назад +34

    Literally, your pandas playlist is better than any other paid courses.
    Thank you so much ❤

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

      really, u must have a very fast eyes movement. he is ok. great learning is good too. try both to learn more

  • @classik305
    @classik305 6 лет назад +7

    only half way through and I'm already excited about what I've gained from this! can't wait to try this when I get to the computer. thank you for such clear explanation!!

    • @zappist751
      @zappist751 2 года назад

      ME TOO I AM SO EXCITED

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

    Been going through your Python playlist and it's perfect. Absolutely great work on these videos.

  • @sep69
    @sep69 5 лет назад +3

    Great tutorial ! Thank you so much for this explanation. Exactly what I was looking for.
    I am going to watch the next one right away :)

  • @juliocesarbenavente9590
    @juliocesarbenavente9590 6 лет назад +2

    El video muy bien explicado. Paso a paso a fin de entender el proceso completamente bien. Por ahora no hay dudas. Espero que surgan pronto!
    Muchas gracias! Me encantó!

  • @parthkatlana1252
    @parthkatlana1252 2 года назад

    Thank you so much, I've literally searched for an hour now how to draw charts with conditions. I finally found it here.

  • @alexlaverty8564
    @alexlaverty8564 5 лет назад +15

    Awesome tutorial, thank you for putting this together, i've been learning Pandas in my spare time but I had quite a few light bulb moments watching your videos.

  • @Richard-pm8sd
    @Richard-pm8sd 6 лет назад +17

    Your tutorial is so good that I had to sign in to give you a thumbs up

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

    Treat this comment as appreciation.
    It's awesome to follow your videos and I am slowly getting a lot of hands-on in Python coding. I highly appreciate your efforts that people are getting educated with your videos.

  • @questforprogramming
    @questforprogramming 5 лет назад +38

    I am watching your videos in 2x...and I am still comfortable in understanding also saving my time..

    • @rickandelon9374
      @rickandelon9374 4 года назад +1

      bharath bhimshetty take your time to learn from great teachers, try to fully understand what they are saying. Its not wasting time while learning cause you will inevitably waste your time on some other stupid things.

    • @EdiiXHD
      @EdiiXHD 4 года назад +2

      Alt Cunningham jup, you prob won’t learn much from trying to speedrun the video. Taking your time and actually trying these functions is way more usefull.

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

      I'm also watching it in 2x. and later practicing 4x ....
      And believe it's worth it.

  • @khubaibraza8446
    @khubaibraza8446 5 лет назад

    One of the Best tutorial i have seen about dataframes .. Bundle of thanks

  • @ragavsathis
    @ragavsathis 6 лет назад +3

    Thanks for explaining it with clarify, this is what I have been looking for

  • @JoseAlvarez-dl3hm
    @JoseAlvarez-dl3hm 6 лет назад

    Really great work mate, keep doing what you are doing, cheers!

  • @skkkks2321
    @skkkks2321 5 лет назад

    What a nice introduction to use Jupitor using DF,Excellent Sir.Learn something valuable...looking more and more.Thanks

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

    I just started learning Python for data analytics and this is a very good explanation on how we can use pandas. Thank you😀

  • @arunkaruppaiah971
    @arunkaruppaiah971 5 лет назад +1

    No words to say! Awesome explanation.

  • @sanjaykrish8719
    @sanjaykrish8719 6 лет назад

    You made me very comfortable to use pandas. Kudos to you

  • @ArtArchitectureAndAI
    @ArtArchitectureAndAI 4 года назад +1

    Awesome job. This is great tutorial for Pandas dataframe introduction. Thank you!

    • @codebasics
      @codebasics  4 года назад

      I am glad it was helpful

  • @debashissahoo5031
    @debashissahoo5031 6 лет назад +2

    thank you sir, you way of explanation is really amazing and it makes the concept simpler.

  • @cartoon-wc4hm
    @cartoon-wc4hm 2 года назад

    You are a great teacher. Thank you for helping me to start my data science journey.

  • @flamboyantperson5936
    @flamboyantperson5936 6 лет назад +1

    Amazing tutorial just love it. Thank you so much.

  • @nepalimusician6445
    @nepalimusician6445 2 года назад +9

    This is such a good tutorial. Simple and smooth without giving any complex explanation. Explaining by examples rather than the theory behind it. Thank you so much. Subscribed!!!

    • @codebasics
      @codebasics  2 года назад +1

      🤗🙏🙏🤔

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

      try others like great learning, Mosh, and few other plonkers.

  • @annamorgiel
    @annamorgiel 7 лет назад

    really useful tutorial, I got all I needed. Thank you

  • @asadtanvir4065
    @asadtanvir4065 6 лет назад +3

    Thanks a lot for the video. Exactly what I was looking for. Keep making tutorials on data structure like this

    • @ahmedhelal920
      @ahmedhelal920 3 года назад

      can you please help me on this code I want to make filter on the data frame about what it's temperature is > 13 , and I am coding on Pycharm , so I write it like this print(data_frame['tempreature']>13)

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

      @@ahmedhelal920 df["temprature"][df["temprature"]>13]

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

    In the starting I learned Java script and I also used Notepad++ but now learning python from you bro you are super cool your videos are very interesting hands off 🙏🙏

  • @shanepython
    @shanepython 7 лет назад

    Very informative and understandable. Thank you for sharing your knowledge.

  • @Jonathan-od5xc
    @Jonathan-od5xc 6 лет назад

    Man, this was fantastic. Thank you, sir.

  • @abhinavmishra6648
    @abhinavmishra6648 5 лет назад

    This was very helpful! Thank you so much!

  • @MrCEO-jw1vm
    @MrCEO-jw1vm Месяц назад

    Very effective teaching of pandas here. Thank you for such a great resource

  • @alexandrelucas5621
    @alexandrelucas5621 6 лет назад

    Very good! Congrats and keep up the good work!

  • @hasankhalid
    @hasankhalid 6 лет назад

    dude you are awesome. I dont leave comments but I learned soooo much. Saved my a** on my homework

  • @saichaithrik7134
    @saichaithrik7134 4 года назад +1

    Sir you are great and you explained better than most of my faculty and online tutors thank you so much sir really helped a lot

  • @drewphillips3241
    @drewphillips3241 6 лет назад

    Thanks for the clear and simple explanation.

  • @user-ed4mb9rg5g
    @user-ed4mb9rg5g 7 месяцев назад

    i found your videos so fascinating ,i had wached several videos before i got yours and there i understood nothing therefore thanks for an amazing tutorial

  • @asifnizamani7513
    @asifnizamani7513 6 лет назад

    what a lovely explanation and knowledge sharing

  • @user-iv9mx7md8q
    @user-iv9mx7md8q 8 месяцев назад

    I am enjoying this playlist very much. Also completed numpy, python as well. Your explanation style with real life data and examples is preety much fascinating and interesting and it motivates me to play with data which makes a good player in case of performing EDA. Thanks for your efforts for us sir

  • @movinsq07
    @movinsq07 5 лет назад

    Awesome and easy to follow. Thank you.

  • @cameronemmanuel2426
    @cameronemmanuel2426 6 лет назад

    THANK YOU SOOOOOOO MUCH. UNREAL. I'VE BEEN STRUGGLING FOR DAYS AND DUDE YOU'VE EXPLAINED IT ALL SO EASY. A MILLION THUMBS UP! THANKS!!! :D

    • @cameronemmanuel2426
      @cameronemmanuel2426 6 лет назад

      Is there a command to show every variable in a column? For example if you had a large database with lots of different variables under 'Weather' would there be a command to show a list of them all and how many in each?

    • @cameronemmanuel2426
      @cameronemmanuel2426 6 лет назад

      Wow thanks so much! do you do online tutoring or anything at all?

    • @cameronemmanuel2426
      @cameronemmanuel2426 6 лет назад

      Ah okay. Thanks for your replies. Your videos are the best!!! :D

  • @learnerlearner4090
    @learnerlearner4090 3 года назад

    Learnt about using short cuts along with simple pandas code examples for dataframe. Thanks.

  • @lalitdevda7616
    @lalitdevda7616 2 года назад

    Great session of pandas, I learnt lot of about pandas DataFrame, Thank you sir for have a great session

  • @mchandresh
    @mchandresh 7 лет назад

    thank you for awesome presentation. thumbs up!

  • @nnennaumelloh8834
    @nnennaumelloh8834 3 года назад +1

    This is amazing! Thank you!

  • @hagarali5009
    @hagarali5009 5 лет назад

    it's so much better than coursera python course in data analysis
    thank you

  • @samuisuman
    @samuisuman 5 лет назад

    Clean and clear...Thumps up!

  • @oneramen
    @oneramen 5 лет назад

    Thanks for the tutorial. It helps a lot.

  • @itsvenkis1
    @itsvenkis1 6 лет назад

    Explained well, Good job and thanks

  • @shreedharchavan7033
    @shreedharchavan7033 2 года назад

    Its great that you don't cut video for errors

  • @rsdntevl
    @rsdntevl 6 лет назад

    A natural teacher!

  • @samrathchadha5062
    @samrathchadha5062 3 года назад

    First video that got straight to the point

  • @SophiaandHaakenPedersen
    @SophiaandHaakenPedersen 5 лет назад

    Excellent, thank you for your video, that is very helpful

  • @musaddikhossain5862
    @musaddikhossain5862 4 года назад +1

    Just Amazing!!! Appreciate you efforts sir. Thank you very much.

    • @codebasics
      @codebasics  4 года назад

      I am glad it was helpful

  • @techworm3533
    @techworm3533 6 лет назад

    Sir your teaching methodology is awesome 👌

  • @MohdJaved-zd1ly
    @MohdJaved-zd1ly 7 лет назад

    Thanks man.....you have made the learning very easy.

  • @mvcutube
    @mvcutube 3 года назад

    The best video on data frame basics. Thank you

  • @shantanubedajna6240
    @shantanubedajna6240 6 лет назад +2

    you are doing better job explaining than sentdex . Awesome brother !!

  • @aaronanderson1068
    @aaronanderson1068 6 лет назад

    Great job! Thanks for the time.

  • @deepthisudhakaran6417
    @deepthisudhakaran6417 3 года назад

    Thank you! Outstanding tutorial

  • @phoenixvisual7410
    @phoenixvisual7410 6 лет назад

    I was searching for over a week the whole internet, how to print rows, where the country was "Germany" ("Snow"). You explained this in a few seconds. If I could give you 100 Likes, I would do this. Thank you very MUCH

  • @rumaizarizkin3728
    @rumaizarizkin3728 6 лет назад

    i have never seen such an excellent tutorial. explain in very simpler way with good ascent hats of to you

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

    I have taken classes and I have the basics but still confused your made it sattle in my head. Thank youl

  • @fahadreda3060
    @fahadreda3060 6 лет назад

    Really Nice Tutorial, Thank You sir

  • @victorcostaricci3515
    @victorcostaricci3515 2 года назад

    I really enjoyed you the way you explain. All success to you.

  • @CyberPin2001
    @CyberPin2001 3 года назад

    Excellent - so well presented with great ecplanations. I have looked at a lot of Pandas tutorials and these are the best I have come across. Very clear explanations and you can tell the presenter has a very good understanding of the subject. Something many others don't have. Will be checking out some of his other videos. 👍

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

    clear cut explanation for beginners like me compared to paid courses. thanks sir

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

    A great explanation and covered almost important things in one video almost is superb, thanks a lot sir

  • @michelesantos5716
    @michelesantos5716 3 года назад

    Thank you so much for this video. It has helped me a lot in understanding dataframes.

    • @codebasics
      @codebasics  3 года назад +1

      I am happy this was helpful to you.

  • @anishamalblanco7386
    @anishamalblanco7386 2 года назад

    Thank you Sir for this awesome tutorial. I could not grasp any idea about pandas from other videos. I luckily found this video and I am gonna complete the series and try different datasets.

  • @KevinGalbraith
    @KevinGalbraith 5 лет назад

    Very well done. Easy to follow and explained simply. Thanks.

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

    Great Tutorial...I mean really Great Explaination

  • @FLVCTVAT_NEC_MERGITVR
    @FLVCTVAT_NEC_MERGITVR 7 лет назад

    Excellent tutorial!

  • @rgh1986aka199
    @rgh1986aka199 7 лет назад +12

    awesome tutorial, thank you

    • @rgh1986aka199
      @rgh1986aka199 7 лет назад

      codebasics may I know where you are located?

    • @rgh1986aka199
      @rgh1986aka199 7 лет назад

      codebasics if you are from Delhi, I would have tried to meet you in person

    • @soumilshah3890
      @soumilshah3890 5 лет назад

      @@codebasics hey i live in Bridgeport would love to connect +1646 204 5957

  • @crazypigs100
    @crazypigs100 7 лет назад

    ur the best!! inspiring

  • @dr.satyapatel7520
    @dr.satyapatel7520 6 лет назад

    Thanks codebasica, you are awesome. really helped me a lot

  • @Gauravkr0071
    @Gauravkr0071 4 года назад

    keep posting such high quality content man.....love u

    • @codebasics
      @codebasics  4 года назад

      Sure gaurav. thanks for the comment.

  • @Soumirai
    @Soumirai 7 лет назад

    Good tutorial, thank you!

  • @motiongraphic5145
    @motiongraphic5145 2 года назад

    You are the best tutor ever, that helped me alot. Thank you

  • @MuhammadKashif-pd9em
    @MuhammadKashif-pd9em 3 года назад +1

    Really explained in a great way...love it❤️❤️

    • @codebasics
      @codebasics  3 года назад +1

      Thank you so much 😀

  • @gregs138
    @gregs138 5 лет назад

    Nice video, thank you for going through all this!

  • @nateenglishlab783
    @nateenglishlab783 2 года назад

    Awesome tutorial thanks!

  • @vishalzope1978
    @vishalzope1978 4 года назад

    Thanks a lot sir, u explained with very ease....

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

    Very simple explanation and easy to understand.. Thank you !!

  • @fantacyuser
    @fantacyuser 6 лет назад

    excellent video sir..simple explanation....

  • @dilipbhardwaj1699
    @dilipbhardwaj1699 6 лет назад

    Nice tutorial, thanks.

  • @suyashpurwar8310
    @suyashpurwar8310 5 лет назад

    Loving these series

  • @vwindie
    @vwindie 3 года назад

    Well explained
    Highly recommended for basics

    • @codebasics
      @codebasics  3 года назад

      I am happy this was helpful to you.

  • @rajeshk7908
    @rajeshk7908 5 лет назад

    Awesome tutorial :)

  • @badassopenpolling
    @badassopenpolling 25 дней назад

    Naught-Book, nicely explained

  • @rajsamant1
    @rajsamant1 5 лет назад

    Thanks sir...the way you are explaining, it seems I will learn it very soon

    • @codebasics
      @codebasics  5 лет назад

      Yes you will for sure. And it is because you have keen interest and you are ready to put an effort.

  • @theprogrammingshuttle2975
    @theprogrammingshuttle2975 5 лет назад

    sent_index is widely missed in py tuto world, great vid 🎉

  • @guhanathanprathish9704
    @guhanathanprathish9704 4 года назад

    your way of teaching was amazing and very easy to understand the concepts.. Thank you so much sir.. ❤️❤️😊

    • @codebasics
      @codebasics  4 года назад +1

      Prathish, I am glad 👍

  • @MohamedArafat
    @MohamedArafat 6 лет назад

    Well done !

  • @shashirajusiddaraju4979
    @shashirajusiddaraju4979 5 лет назад

    You are simply awesome..

  • @arpanghosh680
    @arpanghosh680 3 года назад +1

    Thanks bro for teaching me dataframe

  • @praiseemma-iwuozo6938
    @praiseemma-iwuozo6938 Год назад

    Thank you Soo much for this course. I can't express enough how much this course has helped me. This free course is far better than any other paid courses I've seen so far. Thank you so much. I'm in a little fix on the path for the data frame. I mean where you fixed the path. I think my path is correct but each time I run, I keep seeing syntax error. please I need your help.