paskhaver / pandas-in-action Goto Github PK
View Code? Open in Web Editor NEWComplete source code (datasets and Jupyter Notebooks) for Pandas In Action
Home Page: https://www.manning.com/books/pandas-in-action
Complete source code (datasets and Jupyter Notebooks) for Pandas In Action
Home Page: https://www.manning.com/books/pandas-in-action
chapter_03_series_methods.ipynb
the code in the In [4]
pd.read_csv("pokemon.csv", index_col = "Pokemon", squeeze = True)
will prompt like this:
FutureWarning: The squeeze argument has been deprecated and will be removed in a future version. Append .squeeze("columns") to the call to squeeze.
according to Pandas docs, in Pandas 1.4.0 and later, it should be revised as
pd.read_csv('pokemon.csv', index_col='Pokemon').squeeze(1)
Incorrect description of the operation for pct_change. Text states:
'adds the last index's value and the current index's value', Figure 2.3 on pg 40 shows the difference.
I think this repo would benefit from having a requirements.txt
file in order to be able to install all required packages in one go.
Incorrect output of the dataframe.
I think the statement on pg 91 is incorrect:
'find the five youngest players in nba without using the nsmallest method?'
To find the five youngest players we would need to use the nlargest method. The nlargest on datetimes produces the latest values.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.