Move from Excel to Python with Pandas Transcripts
Chapter: Intro to Pandas
Lecture: Concept: Understanding your dataframe
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
After creating your data frame in pandas,
0:02
you want to use several commands to understand how it's structured.
0:05
If we have a data frame called DF and want to see the top of bottom
0:07
rows, df.head() and df.tail() will show the bottom and top rows.
0:11
The info function will give more details on the columns,
0:14
including memory usage and data types.
0:17
Understanding the number of rows and columns is important as well,
0:20
so the DF shape function will tell us that,
0:22
and finally, calling describe on a data frame will give us a numerical summary
0:27
of the values in that data frame.