effective_pandas_book
effective_pandas_book copied to clipboard
Errata and code for Effective Pandas book
Hi Matt, I'm working through your _Effective Pandas_ book and might have found a typo at the start of the chapter Reshaping Dataframes with Dummies. You write: ``` >>> (jb...
Rows with NaN/0 across all columns get "DBA"
I'm really enjoying working through the Effective Pandas book! It's great. However, in the PDF version, there's a typesetting error at the end of Chapter 29. At least in the...
- [ ] Page 12: > Namely, that a dataframe can have **on** or many series. - [ ] Page 24, there's an image of `city.` that doesn't match the...
I have been following the code in your book in jupyter notebook. There is several places where the code leads to errors. The errors also show up in the github...
In Chapter 14 on plotting you wrote "To leverage it in Jupyter, make sure you include the following cell magic to tell Jupyter to display the plots in the browser:...
The code at the top of p182: (jb2 .query("team_size.isna()") .employment_status .value_counts(dropna=False) ) Can fail with:"TypeError: unhashable type: 'Series'" Running Python v3.9.7 and Pandas 1.3.4 with latest Anaconda install. Cause: 'numexpr'...
In the table on operator methods, the Operator entries for s.gt(s2), s.ge(s2), s.lt(s2), and s.le(s2) all simply list '2' rather than 's2'
"We pull off the age colum" should be "column"
It looks like the output at the top of page 195 might be wrong (or I'm confused, wouldn't be the first time!). I think it should be sorted by the...