Our examination of splitting data within a pandas object will be broken into several steps. In the first, we will look at creating a grouping based on columns, and then examine the properties of the grouping that is created. We will then examine accessing various properties and results of the grouping to learn several properties of the groups that were created. Then we will examine grouping using index labels instead of content in columns.
-
Book Overview & Buying
-
Table Of Contents
Learning pandas - Second Edition
By :
Learning pandas
By:
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)
Preface
pandas and Data Analysis
Up and Running with pandas
Representing Univariate Data with the Series
Representing Tabular and Multivariate Data with the DataFrame
Manipulating DataFrame Structure
Indexing Data
Categorical Data
Numerical and Statistical Methods
Accessing Data
Tidying Up Your Data
Combining, Relating, and Reshaping Data
Data Aggregation
Time-Series Modelling
Visualization
Historical Stock Price Analysis