官术网_书友最值得收藏!

Visualization

So far, we have seen how to select portions of a DataFrame and how to get summary statistics from our data, but let's now move on to learning how to visually inspect the data. But first, why even bother with visual inspection? Let's see an example to understand why.

Here is the summary statistics for four distinct series of x and y values:

Based on the series having identical summary statistics, you might assume that these series would appear visually similar. You would, of course, be wrong. Very wrong. The four series are part of Anscombe's quartet, and they were deliberately created to illustrate the importance of visual data inspection. Each series is plotted as follows:

Clearly, we would not treat these datasets as identical after having visualized them. So, now that we understand the importance of visualization, let's take a look at a pair of useful Python libraries for this.

主站蜘蛛池模板: 石屏县| 墨竹工卡县| 康保县| 桂东县| 屯留县| 马山县| 炎陵县| 百色市| 灵台县| 抚顺县| 白银市| 海原县| 扎赉特旗| 合江县| 邢台县| 乌海市| 府谷县| 中山市| 屯留县| 新津县| 金山区| 靖州| 禹城市| 法库县| 九龙县| 芦溪县| 德令哈市| 师宗县| 萝北县| 龙陵县| 泾阳县| 宜兰市| 山丹县| 河曲县| 偏关县| 合阳县| 荔浦县| 兴山县| 汝城县| 福州市| 泰兴市|