天天看點

《Python資料可視化程式設計實戰》—— 導讀

《Python資料可視化程式設計實戰》—— 導讀

python資料可視化程式設計實戰

最好的資料是我們能看到并了解的資料。作為一個開發人員,我們想創造并建構出最全面且容易了解的可視化圖形。然而這并非總是很簡單,我們需要找出資料,讀取它、清理它、揣摩它,然後使用恰當的工具将其可視化。本書通過簡單(和不那麼簡單)直接的方法解釋了如何讀取、清理和可視化資料的流程。

本書對怎樣讀取本地資料、遠端資料、csv、json以及關系型資料庫中的資料,都進行了講解。

通過matplotlib,我們能用一行簡單的python代碼繪制出一些簡單的圖表,但是進行更進階的繪圖還需要除python之外的其他知識。我們需要了解資訊理論和人類的審美學來生成最吸引人的可視化效果。

本書講解在python中使用matplotlib繪圖的一些練習、使用情況,以及對于不同圖表特性應該使用的方法的一些最佳實踐。

本書的寫作及代碼開發均基于ubuntu 12.03,使用了python 2.7、ipython 0.13.2、virtualenv 1.9.1、matplotlib 1.2.1、numpy 1.7.1和scipy 0.11.0。

<a href="https://yq.aliyun.com/articles/96662">第 1 章 準備工作環境</a>

<a href="https://yq.aliyun.com/articles/96665">1.1 介紹</a>

<a href="https://yq.aliyun.com/articles/96672">1.2 安裝matplotlib、numpy和scipy庫</a>

<a href="https://yq.aliyun.com/articles/96674">1.3 安裝virtualenv和virtualenvwrapper</a>

<a href="https://yq.aliyun.com/articles/96675/">1.4 在mac os x上安裝matplotlib</a>

<a href="https://yq.aliyun.com/articles/96681">1.5 在windows上安裝matplotlib</a>

<a href="https://yq.aliyun.com/articles/96685">1.6 安裝圖像處理工具:python圖像庫(pil)</a>

<a href="https://yq.aliyun.com/articles/96689/">1.7 安裝requests子產品</a>

<a href="https://yq.aliyun.com/articles/96697">1.8 在代碼中配置matplotlib參數</a>

<a href="https://yq.aliyun.com/articles/96708">1.9 為項目設定matplotlib參數</a>

第 2 章 了解資料

第 3 章 繪制并定制化圖表

第 4 章 學習更多圖表和定制化

<a href="https://yq.aliyun.com/articles/96713">第 5 章 建立3d可視化圖表</a>

<a href="https://yq.aliyun.com/articles/96718">5.1 簡介</a>

<a href="https://yq.aliyun.com/articles/96725">5.2 建立3d柱狀圖</a>

<a href="https://yq.aliyun.com/articles/96730">5.3 建立3d直方圖</a>

<a href="https://yq.aliyun.com/articles/96734/">5.4 在matplotlib中建立動畫</a>

<a href="https://yq.aliyun.com/articles/96740">5.5 用opengl制作動畫</a>

第 6 章 用圖像和地圖繪制圖表

第 7 章 使用正确的圖表了解資料

第 8 章 更多的matplotlib知識