Book Image

Learning pandas - Second Edition

By : Michael Heydt
Book Image

Learning pandas - Second Edition

By: Michael Heydt

Overview of this book

You will learn how to use pandas to perform data analysis in Python. You will start with an overview of data analysis and iteratively progress from modeling data, to accessing data from remote sources, performing numeric and statistical analysis, through indexing and performing aggregate analysis, and finally to visualizing statistical data and applying pandas to finance. With the knowledge you gain from this book, you will quickly learn pandas and how it can empower you in the exciting world of data manipulation, analysis and science.
Table of Contents (16 chapters)

Summary

We have reached the end of our journey in learning about pandas and the features it offers for data manipulation and analysis. Prior to this chapter, we spent most of our time learning the features of pandas, and in many cases, using data designed to demonstrate the concepts instead of using real-world data.

In this chapter, we used everything that we've learned up to this point to demonstrate how easy it is to use pandas to analyze real-world data, specifically stock data, and to derive results from the data. Often, this enables us to draw quick conclusions through visualizations designed to make the patterns in the data apparent.

This chapter also introduced several financial concepts, such as the daily percentage change, calculating returns, and the correlation of time-series data, among others. The focus was not on financial theory but to demonstrate how easy...