From the course: Advanced Python: Practical Database Examples
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Analyze data with Matplotlib - Python Tutorial
From the course: Advanced Python: Practical Database Examples
Analyze data with Matplotlib
- [Lecturer] Now that we're a little more familiar with the data, let's try creating some visualizations. We'll leverage the Matplotlib module. By using both Pandas and Matplotlib, we can make a histogram of the values in a given column. Let's try plotting a histogram with the values and the quantity column and see how many products are bought in a given order. We'll select the data frame quantity, and then use hist. It looks like most orders are small, containing under 10 items. We can also make bar graphs. Let's graph the prod category column and see what the top product categories are for orders. We'll use value counts and plot a bar graph. We see e-books again, but training videos, blueprints drone kits, and robot kits are also popular. This is only an introduction to Pandas and Matplotlib, and there are so many more methods you can run on your data. There are also several other libraries you can use to learn more…
Contents
-
-
-
-
Introduction to pandas2m 12s
-
(Locked)
Set up pandas and Jupyter Notebook2m 10s
-
(Locked)
Analyze data with pandas3m 30s
-
(Locked)
Analyze data with Matplotlib1m 29s
-
(Locked)
Connect to a DB using SQLAlchemy within Juypter Notebook2m 33s
-
(Locked)
Visualize data using SQLAlchemy, pandas, and Matplotlib3m 30s
-
(Locked)
Challenge: Ingest data and visualize it with Matplotlib1m 7s
-
(Locked)
Solution: Ingest data and visualize it using Matplotlib4m 9s
-
-
-