Python Pandas Tutorial 2: Dataframe Basics

Опубликовано: 24 September 2026
на канале: codebasics
985,231
14k

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: https://github.com/codebasics/py/tree...

Do you want to learn technology from me? Check https://resources.codebasics.io/pfOf96 for my affordable video courses.

Next Video:
Python Pandas Tutorial 3: Different Ways Of Creating DataFrame
   • Python Pandas Tutorial 3: Different Ways O...  

Very Simple Explanation Of Neural Network:    • Neural Network Simply Explained | Deep Lea...  

Popular Playlist:
Complete python course:    • Python 3 Programming Tutorials for Beginners  

Data science course:    • Data Science Full Course For Beginners | P...  

Machine learning tutorials:    • Machine Learning Tutorial Python | Machine...  

Pandas tutorials:    • Pandas Tutorial (Data Analysis In Python)  

Git github tutorials:    • Git/Github Tutorial  

Matplotlib course:    • Matplotlib tutorial  

Data structures course:    • Data Structures And Algorithms In Python  

Data Science Project - Real Estate Price Prediction:    • Machine Learning & Data Science Project - ...  

To download csv and code for all tutorials: go to https://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: https://resources.codebasics.io/pfOf96

Need help building software or data analytics and AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.

#️⃣ Social Media #️⃣
🔗 Discord:   / discord   Codebasics Instagram:   / codebasicshub  
🔊 Codebasics Facebook:   / codebasicshub  
📝 Codebasics LinkedIn:   / codebasics  
📱 Codebasics X handle:   / codebasicshub  
📸 Dhaval's Instagram:   / dhavalsays  
📝 Dhaval's LinkedIn:   / dhavalsays  
📱 Dhaval's X handle: https://x.com/dpcodebasics
🔗 Patreon: https://www.patreon.com/codebasics?fa...