Python Data Visualization Cookbook
暫譯: Python 數據視覺化食譜

Igor Milovanovic

買這商品的人也買了...

相關主題

商品描述

As a developer with knowledge of Python you are already in a great position to start using data visualization. This superb cookbook shows you how in plain language and practical recipes, culminating with 3D animations.

Overview

  • Learn how to set up an optimal Python environment for data visualization
  • Understand the topics such as importing data for visualization and formatting data for visualization
  • Understand the underlying data and how to use the right visualizations

In Detail

Today, data visualization is a hot topic as a direct result of the vast amount of data created every second. Transforming that data into information is a complex task for data visualization professionals, who, at the same time, try to understand the data and objectively transfer that understanding to others. This book is a set of practical recipes that strive to help the reader get a firm grasp of the area of data visualization using Python and its popular visualization and data libraries.

Python Data Visualization Cookbook will progress the reader from the point of installing and setting up a Python environment for data manipulation and visualization all the way to 3D animations using Python libraries. Readers will benefit from over 60 precise and reproducible recipes that guide the reader towards a better understanding of data concepts and the building blocks for subsequent and sometimes more advanced concepts.

Python Data Visualization Cookbook starts by showing you how to set up matplotlib and the related libraries that are required for most parts of the book, before moving on to discuss some of the lesser-used diagrams and charts such as Gantt Charts or Sankey diagrams. During the book, we go from simple plots and charts to more advanced ones, thoroughly explaining why we used them and how not to use them. As we go through the book, we will also discuss 3D diagrams. We will peep into animations just to show you what it takes to go into that area. Maps are irreplaceable for displaying geo-spatial data, so we also show you how to build them. In the last chapter, we show you how to incorporate matplotlib into different environments, such as a writing system, LaTeX, or how to create Gantt charts using Python.

This book will help those who already know how to program in Python to explore a new field – one of data visualization. As this book is all about recipes that explain how to do something, code samples are abundant, and they are followed by visual diagrams and charts to help you understand the logic and compare your own results with what is explained in the book.

What you will learn from this book

  • Install and use iPython
  • Use Python's virtual environments
  • Install and customize NumPy and matplotlib
  • Draw common and advanced plots
  • Visualize data using maps
  • Create 3D animated data visualizations
  • Import data from various formats
  • Export data from various formats

Approach

This book is written in a Cookbook style targeted towards an advanced audience. It covers the advanced topics of data visualization in Python.

商品描述(中文翻譯)

作為一名具備 Python 知識的開發者,您已經處於一個很好的位置,可以開始使用數據視覺化。這本優秀的食譜書以簡單的語言和實用的食譜展示了如何做到這一點,最終達到 3D 動畫的效果。

概述
- 學習如何設置最佳的 Python 環境以進行數據視覺化
- 理解導入數據以進行視覺化和格式化數據以進行視覺化等主題
- 理解底層數據以及如何使用正確的視覺化方式

詳細內容
如今,數據視覺化是一個熱門話題,這直接源於每秒產生的大量數據。將這些數據轉化為信息對於數據視覺化專業人士來說是一項複雜的任務,他們同時試圖理解數據並客觀地將這種理解傳達給他人。本書是一組實用的食譜,旨在幫助讀者牢牢掌握使用 Python 及其流行的視覺化和數據庫的數據視覺化領域。

《Python 數據視覺化食譜》將引導讀者從安裝和設置 Python 環境以進行數據操作和視覺化開始,一直到使用 Python 庫創建 3D 動畫。讀者將受益於超過 60 個精確且可重現的食譜,這些食譜指導讀者更好地理解數據概念及其後續和有時更高級概念的基礎。

《Python 數據視覺化食譜》首先展示如何設置 matplotlib 及本書大多數部分所需的相關庫,然後討論一些較少使用的圖表和圖形,例如甘特圖或桑基圖。在書中,我們從簡單的圖表和圖形開始,逐步進入更高級的圖表,徹底解釋為什麼使用它們以及如何不使用它們。在書中,我們還將討論 3D 圖表。我們將簡單介紹動畫,以展示進入該領域所需的內容。地圖在顯示地理空間數據方面是不可或缺的,因此我們也會展示如何構建它們。在最後一章中,我們將展示如何將 matplotlib 整合到不同的環境中,例如寫作系統、LaTeX,或如何使用 Python 創建甘特圖。

這本書將幫助那些已經知道如何用 Python 編程的人探索一個新領域——數據視覺化。由於本書全是關於解釋如何做某事的食譜,代碼示例非常豐富,並且後面跟隨著視覺圖表和圖形,以幫助您理解邏輯並將自己的結果與書中解釋的內容進行比較。

您將從本書中學到的內容
- 安裝和使用 iPython
- 使用 Python 的虛擬環境
- 安裝和自定義 NumPy 和 matplotlib
- 繪製常見和高級圖表
- 使用地圖進行數據視覺化
- 創建 3D 動畫數據視覺化
- 從各種格式導入數據
- 從各種格式導出數據

方法
本書以食譜風格撰寫,針對高級讀者。它涵蓋了 Python 中數據視覺化的高級主題。