Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Other Digital Version | Preface Using Code Examples |
Words wrong way around on wesmckinney.com |
Steven Mooney | Feb 16, 2024 |
Printed, ePub | Page Section 3.1, page 59 1st paragraph |
The example: |
Patrick Salkeld | Feb 16, 2024 |
Other Digital Version | Section 5.2; Indexing, Selection, and Filtering Selection on DataFrame with loc and iloc |
The word rows is misspelled as "roles". |
Andrei | Feb 17, 2024 |
Other Digital Version | Generator expressions 3rd code listing |
syntax typo for the statement `dict((i, i **2) for i inrange(5))` |
Ben To | Feb 19, 2024 |
Other Digital Version | Set hashable set elements part |
just missing a space before the **first parenthesis** in the sentence "set elements generally must be immutable, and they must be hashable(which means that calling hash on a value does not raise an exception)." |
Ben To | Feb 19, 2024 |
Printed, ePub | Page Page 98, Section 4.1 First example, first 3 paragraphs |
When tried to duplicate this example: |
Patrick Salkeld | Feb 19, 2024 |
Other Digital Version | Chapter 4 - Data Types for ndarrays Second note box |
Where the online text says "A signed integer can represent both positive and negative integers, while an unsigned integer can only represent nonzero integers", the phrase "nonzero integers" should be "non-negative integers". |
Ben To | Mar 04, 2024 |
O'Reilly learning platform | Page Chapter 10.x Throughout the chapter |
Chapter 10 uses DataFrame.groupby(...,axis="columns") on several occasions, which is deprecated. |
Jochen Schüttler | Apr 09, 2024 |
Other Digital Version | 4.2 Pseudorandom Number Generation Table 4.3: NumPy random number generator methods |
duplicate `uniform` function listed in the table |
Ben To | Mar 09, 2024 |
Other Digital Version | 4.4 Array-Oriented Programming with Arrays first code listing |
In [169]: points = np.arange(-5, 5, 0.01) # 100 equally spaced points |
Ben To | Mar 11, 2024 |
ePub | Page 5 Indexing, Selection and Filtering Using Code Examples |
In the following sentence should 'columns' be changed to 'rows'. When I test this, it prints 2 rows and all the columns. |
Steven Mooney | Feb 21, 2024 |
O'Reilly learning platform | Page 10.2 6th code box, In [72] |
The code example is "grouped_pct.agg([("average", "mean"), ("stdev", np.std)])". There is a FutureWarning to use "grouped_pct.agg([("average", "mean"), ("stdev", "std")]) instead. |
Jochen Schüttler | Apr 09, 2024 |
Other Digital Version | 13.3 US Baby Names In[116] China edition page415 |
According to the up code block: def~~ |
Zhang yingtan | Mar 19, 2024 |
Printed | Page 169 In[285] |
In[283] and In[285] look exactly the same even though line above says that you could include more concise syntax. |
Jude Cancellieri | Mar 09, 2024 |