Python Pandas Tutorial 2: Dataframe Basics
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
Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced
Highly recommended to those who are searching for the perfect tutorial on Pandas! He literally reads a learners mind!
What a legend, explains it so well. Exactly what I needed. Thanks
@zerostudy7508
5 жыл бұрын
Comment==True
@m.arsalanbabar3303
3 жыл бұрын
kzread.info/dash/bejne/loyKtrSrqMa1h7w.html Who should file Return of Income according to law Please like, comment, share and subscribe. Thank you
@yashkushwaha6940
Жыл бұрын
@@zerostudy7508 in
@Vertek11235
Ай бұрын
Actually a great beginners tutorial
Literally, your pandas playlist is better than any other paid courses. Thank you so much ❤
@wasimbader5706
10 ай бұрын
really, u must have a very fast eyes movement. he is ok. great learning is good too. try both to learn more
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.
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
2 жыл бұрын
ME TOO I AM SO EXCITED
Been going through your Python playlist and it's perfect. Absolutely great work on these videos.
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.
Thank you so much, I've literally searched for an hour now how to draw charts with conditions. I finally found it here.
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ó!
Your tutorial is so good that I had to sign in to give you a thumbs up
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.
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 :)
I am watching your videos in 2x...and I am still comfortable in understanding also saving my time..
@rickandelon9374
4 жыл бұрын
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
4 жыл бұрын
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
Жыл бұрын
I'm also watching it in 2x. and later practicing 4x .... And believe it's worth it.
One of the Best tutorial i have seen about dataframes .. Bundle of thanks
I just started learning Python for data analytics and this is a very good explanation on how we can use pandas. Thank you😀
No words to say! Awesome explanation.
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 🙏🙏
Thanks for explaining it with clarify, this is what I have been looking for
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
2 жыл бұрын
🤗🙏🙏🤔
@wasimbader5706
10 ай бұрын
try others like great learning, Mosh, and few other plonkers.
You made me very comfortable to use pandas. Kudos to you
Really great work mate, keep doing what you are doing, cheers!
What a nice introduction to use Jupitor using DF,Excellent Sir.Learn something valuable...looking more and more.Thanks
You are a great teacher. Thank you for helping me to start my data science journey.
thank you sir, you way of explanation is really amazing and it makes the concept simpler.
Awesome job. This is great tutorial for Pandas dataframe introduction. Thank you!
@codebasics
4 жыл бұрын
I am glad it was helpful
First video that got straight to the point
@codebasics
3 жыл бұрын
👍👍
Thanks a lot for the video. Exactly what I was looking for. Keep making tutorials on data structure like this
@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
11 ай бұрын
@@ahmedhelal920 df["temprature"][df["temprature"]>13]
Very effective teaching of pandas here. Thank you for such a great resource
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
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
Amazing tutorial just love it. Thank you so much.
Man, this was fantastic. Thank you, sir.
Learnt about using short cuts along with simple pandas code examples for dataframe. Thanks.
dude you are awesome. I dont leave comments but I learned soooo much. Saved my a** on my homework
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
Very good! Congrats and keep up the good work!
Its great that you don't cut video for errors
This was very helpful! Thank you so much!
This is amazing! Thank you!
Thanks for the clear and simple explanation.
A natural teacher!
I have taken classes and I have the basics but still confused your made it sattle in my head. Thank youl
really useful tutorial, I got all I needed. Thank you
Clean and clear...Thumps up!
what a lovely explanation and knowledge sharing
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
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
6 жыл бұрын
Wow thanks so much! do you do online tutoring or anything at all?
@cameronemmanuel2426
6 жыл бұрын
Ah okay. Thanks for your replies. Your videos are the best!!! :D
Very informative and understandable. Thank you for sharing your knowledge.
The best video on data frame basics. Thank you
@codebasics
3 жыл бұрын
Glad it was helpful!
Awesome and easy to follow. Thank you.
it's so much better than coursera python course in data analysis thank you
Sir your teaching methodology is awesome 👌
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.
@codebasics
2 жыл бұрын
Glad it helped!
Thank you! Outstanding tutorial
i have never seen such an excellent tutorial. explain in very simpler way with good ascent hats of to you
A great explanation and covered almost important things in one video almost is superb, thanks a lot sir
thank you for awesome presentation. thumbs up!
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
Great session of pandas, I learnt lot of about pandas DataFrame, Thank you sir for have a great session
Thanks for the tutorial. It helps a lot.
Great job! Thanks for the time.
Loving these series
@codebasics
5 жыл бұрын
😊 glad u liked it
Thanks man.....you have made the learning very easy.
Just Amazing!!! Appreciate you efforts sir. Thank you very much.
@codebasics
4 жыл бұрын
I am glad it was helpful
clear cut explanation for beginners like me compared to paid courses. thanks sir
you are doing better job explaining than sentdex . Awesome brother !!
@adityasinghaswal4923
6 жыл бұрын
the speed at which he speaks is perfect for us Indians :)
Excellent tutorial!
Explained well, Good job and thanks
Thank you so much for this video. It has helped me a lot in understanding dataframes.
@codebasics
3 жыл бұрын
I am happy this was helpful to you.
Good tutorial, thank you!
Really explained in a great way...love it❤️❤️
@codebasics
3 жыл бұрын
Thank you so much 😀
I really enjoyed you the way you explain. All success to you.
Really Nice Tutorial, Thank You sir
Awesome tutorial thanks!
Great Tutorial...I mean really Great Explaination
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. 👍
ur the best!! inspiring
You are the best tutor ever, that helped me alot. Thank you
@codebasics
2 жыл бұрын
Glad it helped!
Naught-Book, nicely explained
Very well done. Easy to follow and explained simply. Thanks.
@codebasics
5 жыл бұрын
glad you liked it kevin
Excellent, thank you for your video, that is very helpful
awesome tutorial, thank you
@rgh1986aka199
7 жыл бұрын
codebasics may I know where you are located?
@rgh1986aka199
7 жыл бұрын
codebasics if you are from Delhi, I would have tried to meet you in person
@soumilshah3890
5 жыл бұрын
@@codebasics hey i live in Bridgeport would love to connect +1646 204 5957
Nice tutorial, thanks.
Data frame is a main object in Pandas . It is used to represent data with rows and columns ( tabular or excel spreadsheet like data) Code : import pandas as pd df = pd.read_csv("C:\\Users\\ayush\\Downloads\\weather_data.csv") df.shape # gives number of rows and columns df.head(2) # print starting 2 rows df.tail(2) # print last 2 rows df[2:5] # print row 2 to 4. df[:] or df # to print all the rows df.columns # gives all columns df.col_name # to print specific column df[['event','day']] # to print specific columns df['temperature'].max() # gives the max value present in temperature column # we can print -- mean() --- std() # standard deviation df[df.temperature >= 32] # condition pandas had many operations we can set / reset index.
Very simple explanation and easy to understand.. Thank you !!
@easydatascience2508
Жыл бұрын
See mine pls.
Well explained Highly recommended for basics
@codebasics
3 жыл бұрын
I am happy this was helpful to you.
keep posting such high quality content man.....love u
@codebasics
4 жыл бұрын
Sure gaurav. thanks for the comment.
Awesome tutorial :)
excellent video sir..simple explanation....
Thanks a lot sir, u explained with very ease....
Well done !
You are simply awesome..
very helpful. Thankyou
Nice video, thank you for going through all this!
@codebasics
5 жыл бұрын
Greg, thanks for leaving out a comment
@panduenglishacademy7856
4 жыл бұрын
Great video
Thanks bro for teaching me dataframe
your way of teaching was amazing and very easy to understand the concepts.. Thank you so much sir.. ❤️❤️😊
@codebasics
4 жыл бұрын
Prathish, I am glad 👍
Very nice explanation
great video, thanks
Thanks codebasica, you are awesome. really helped me a lot
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.