课程: Machine Learning with Python: Foundations

今天就学习课程吧!

今天就开通帐号,24,100 门业界名师课程任您挑!

How to visualize data in Python

How to visualize data in Python

- [Instructor] Like the popular saying, "a picture is worth a thousand words." Visualizations are sometimes more useful than summary statistics in helping us understand our data. One of the most popular visualization packages in Python is a matplotlib package, which provides a host of powerful functions and methods that allow us to produce publication quality visualizations. The plot method of a Pandas dataframe provides an abstraction of the matplotlib functions. To ensure that the plots we create in this tutorial appear right after our code, we have to run the following command. Next, let's import and preview the data we will use for our illustrations. The first type of plot we create is a relationship visualization. These types of visualizations are used to illustrate the correlation between two or more continuous variables. Scatter plots are one of the most commonly used relationship visualizations. They show how one…

内容