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

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.

主站蜘蛛池模板: 剑河县| 潞西市| 阜新市| 天柱县| 思茅市| 武胜县| 宁化县| 沿河| 黔江区| 凌源市| 习水县| 英吉沙县| 义马市| 巴南区| 榆中县| 曲靖市| 肥乡县| 宜都市| 乡宁县| 和林格尔县| 京山县| 阿勒泰市| 岑溪市| 石泉县| 金堂县| 馆陶县| 大田县| 临猗县| 樟树市| 荆州市| 昌邑市| 连平县| 古丈县| 三都| 安岳县| 奉贤区| 芦溪县| 息烽县| 阳城县| 庆元县| 新丰县|