Деталі електронної книги

Python Data Visualization Cookbook. 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

Python Data Visualization Cookbook. 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

Igor Milovanovic

Eлектронна книга
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.
  • Python Data Visualization Cookbook
    • Table of Contents
    • Python Data Visualization Cookbook
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Preparing Your Working Environment
      • Introduction
      • Installing matplotlib, NumPy, and SciPy
        • Getting ready
        • How to do it...
        • How it works...
        • Theres more...
      • Installing virtualenv and virtualenvwrapper
        • Getting ready
        • How to do it...
      • Installing matplotlib on Mac OS X
        • Getting ready
        • How to do it...
      • Installing matplotlib on Windows
        • Getting ready
        • How to do it...
        • There's more...
      • Installing Python Imaging Library (PIL) for image processing
        • How to do it...
        • How it works...
        • There's more...
      • Installing a requests module
        • How to do it...
        • How it works...
      • Customizing matplotlib's parameters in code
        • Getting ready
        • How to do it...
        • How it works...
      • Customizing matplotlib's parameters per project
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 2. Knowing Your Data
      • Introduction
      • Importing data from CSV
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Importing data from Microsoft Excel files
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Importing data from fixed-width datafiles
        • Getting ready
        • How to do it...
        • How it works...
      • Importing data from tab-delimited files
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Importing data from a JSON resource
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Exporting data to JSON, CSV, and Excel
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Importing data from a database
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Cleaning up data from outliers
        • Getting ready
        • How to do it...
        • There's more...
      • Reading files in chunks
        • How to do it...
        • How it works...
        • There's more...
      • Reading streaming data sources
        • How to do it...
        • How it works...
        • There's more...
      • Importing image data into NumPy arrays
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Generating controlled random datasets
        • Getting ready
        • How to do it...
      • Smoothing the noise in real-world data
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 3. Drawing Your First Plots and Customizing Them
      • Introduction
      • Defining plot types bar, line, and stacked charts
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Drawing a simple sine and cosine plot
        • Getting ready
        • How to do it...
      • Defining axis lengths and limits
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Defining plot line styles, properties, and format strings
        • Getting ready
        • How to do it...
        • How it works...
          • Color
          • Background color
      • Setting ticks, labels, and grids
        • Getting ready
        • How to do it...
      • Adding a legend and annotations
        • Getting ready
        • How to do it...
        • How it works...
      • Moving spines to the center
        • How to do it...
        • How it works...
        • There's more...
      • Making histograms
        • Getting ready
        • How to do it...
        • How it works...
      • Making bar charts with error bars
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Making pie charts count
        • Getting ready
        • How to do it...
      • Plotting with filled areas
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Drawing scatter plots with colored markers
        • Getting ready
        • How to do it...
        • How it works...
    • 4. More Plots and Customizations
      • Introduction
      • Setting the transparency and size of axis labels
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Adding a shadow to the chart line
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Adding a data table to the figure
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using subplots
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Customizing grids
        • Getting ready
        • How to do it...
        • How it works...
      • Creating contour plots
        • Getting ready
        • How to do it...
        • How it works...
      • Filling an under-plot area
        • Getting ready
        • How to do it...
        • How it works...
      • Drawing polar plots
        • Getting ready
        • How to do it...
        • How it works...
      • Visualizing the filesystem tree using a polar bar
        • Getting ready
        • How to do it...
        • How it works...
    • 5. Making 3D Visualizations
      • Introduction
      • Creating 3D bars
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Creating 3D histograms
        • Getting ready
        • How to do it...
        • How it works...
      • Animating in matplotlib
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Animating with OpenGL
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Using Pyglet Quickstart
          • Using Glumpy Quickstart
          • Pyprocessing introduction
    • 6. Plotting Charts with Images and Maps
      • Introduction
      • Processing images with PIL
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Plotting with images
        • Getting ready
        • How to do it...
        • How it works...
      • Displaying an image with other plots in the figure
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Plotting data on a map using Basemap
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Plotting data on a map using Google Map API
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Generating CAPTCHA images
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 7. Using Right Plots to Understand Data
      • Introduction
      • Understanding logarithmic plots
        • Getting ready
        • How to do it...
        • How it works...
      • Understanding spectrograms
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Creating a stem plot
        • Getting ready
        • How to do it...
        • How it works...
      • Drawing streamlines of vector flow
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using colormaps
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using scatter plots and histograms
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Plotting the cross-correlation between two variables
        • Getting ready
        • How to do it...
        • How it works...
      • Importance of autocorrelation
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 8. More on matplotlib Gems
      • Introduction
      • Drawing barbs
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Making a box and a whisker plot
        • Getting ready
        • How to do it...
        • How it works...
      • Making Gantt charts
        • Getting ready
        • How to do it...
        • How it works...
      • Making errorbars
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Making use of text and font properties
        • Getting ready
        • How to do it...
        • How it works...
      • Rendering text with LaTeX
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Understanding the difference between pyplot and OO API
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • Index
  • Назва: Python Data Visualization Cookbook. 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
  • Автор: Igor Milovanovic
  • Оригінальна назва: Python Data Visualization Cookbook. 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.
  • ISBN: 9781782163374, 9781782163374
  • Дата видання: 2013-11-25
  • Формат: Eлектронна книга
  • Ідентифікатор видання: e_3b9z
  • Видавець: Packt Publishing