Question: A Quick Introduction to Pandas Dataframes Pandas is the main data structure and manipulation library of python. We will make extensive use of pandas during
A Quick Introduction to Pandas Dataframes
Pandas is the main data structure and manipulation library of python. We will make extensive use of pandas during the course. You can think of a pandas dataframe as an excel spreadsheet, in which each row is associated to an observation and each column is representing a different variable characteristic For example, assume we want to store information about the students of this classroom. We might want to record the name, age, and gpa of each student. Let us create a dataframe, and store the data of a few students. Note: Do not forget to import the library before using it
Step : Create a dataframe with students, with the following:
names : A B C D E F G H
ages:
g:
Step : Get a description of the dataframe using describe
Step : Create a scatter plot to describe the relation between age and gpa of students. Use plot. and press 'TAB' to get a list of plots.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
