Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Other Types of Graphs | Aggregating and Visualizing Data
Data Manipulation using pandas
course content

Зміст курсу

Data Manipulation using pandas

Data Manipulation using pandas

1. Preprocessing Data: Part I
2. Preprocessing Data: Part II
3. Grouping Data
4. Aggregating and Visualizing Data
5. Joining Data

bookOther Types of Graphs

Let's learn the remaining types of plots that pandas can build.

ValueKind of plot
boxfor boxplot
kde or densityfor density plots
areafor area plots
hexbinfor hexagonal bin plots
piefor pie plots

What is a boxplot? A boxplot is a method of graphical representation of data minimum, quartiles, and maximum values. The lower side of rectangle is the first quartile (such a value that 25% of data is less than this value), the top side of rectangle is the third quartile (such a value that 75% of values is less than this value). Whiskers on a plot demonstates minimum and maximum. For instance, let's build a boxplot for the 'empinch' column (represents total household employment income).

12345678
# Importing the library import pandas as pd # Reading the file df = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/f2947b09-5f0d-4ad9-992f-ec0b87cd4b3f/data4.csv') # Scatter plot total income vs. dwelling price df.empinch.plot(kind = 'box')
copy

These types are the most popular, but you will face the remaining ones while studying visualization libraries.

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 4. Розділ 8
We're sorry to hear that something went wrong. What happened?
some-alt