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

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.

主站蜘蛛池模板: 博野县| 循化| 辉南县| 宁陕县| 洞口县| 射洪县| 乌兰县| 平塘县| 渭源县| 榕江县| 芦山县| 通海县| 罗定市| 新沂市| 定西市| 上饶市| 秭归县| 宁都县| 姜堰市| 三门县| 张北县| 柘荣县| 涪陵区| 靖安县| 阿拉善左旗| 敦化市| 梁山县| 新疆| 泰宁县| 德阳市| 明水县| 沁阳市| 沽源县| 武邑县| 泌阳县| 东安县| 中江县| 思南县| 津南区| 五大连池市| 东源县|