Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython by Wes McKinney
Author:Wes McKinney [McKinney, Wes]
Language: eng
Format: azw3, epub, pdf
Publisher: O'Reilly Media
Published: 2017-09-25T04:00:00+00:00
In [14]: grouped.mean() Out[14]: key1 a 0.746672 b -0.537585 Name: data1, dtype: float64
Later, I’ll explain more about what happens when you call .mean(). The important thing here is that the data (a Series) has been aggregated according to the group key, producing a new Series that is now indexed by the unique values in the key1 column. The result index has the name 'key1' because the DataFrame column df['key1'] did.
If instead we had passed multiple arrays as a list, we’d get something different:
Download
Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython by Wes McKinney.epub
Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython by Wes McKinney.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8293)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(6692)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(6667)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(6539)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(6329)
Driving Data Quality with Data Contracts by Andrew Jones(6278)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(6047)
Learning SQL by Alan Beaulieu(5988)
Weapons of Math Destruction by Cathy O'Neil(5778)
Big Data Analysis with Python by Ivan Marin(5340)
Data Engineering with dbt by Roberto Zagni(4342)
Solidity Programming Essentials by Ritesh Modi(3987)
Time Series Analysis with Python Cookbook by Tarek A. Atwan(3843)
Pandas Cookbook by Theodore Petrou(3554)
Blockchain Basics by Daniel Drescher(3292)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2900)
Feature Store for Machine Learning by Jayanth Kumar M J(2808)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2791)
Mastering Python for Finance by Unknown(2743)
