Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Chapter 2 Subsection :- Duck Typing |
"this means it has a __iter__ “magic method,” though an alternative" Note from the Author or Editor: |
Naman Bhalla | Nov 11, 2017 | Sep 21, 2018 | |
Ch11 subsection "Converting between string and datetime" |
In the part discussing converting datetime objects from strings, you say that strptime uses the same format codes as strftime, but that's not quite right: Note from the Author or Editor: |
Alex Branham | Dec 04, 2017 | Sep 21, 2018 | |
?? Integer Indexes Section Paragraph 4 |
In the Integer Indexes section of Chapter 5 the following paragraph is ambiguous: Note from the Author or Editor: |
Bob McDonald | Dec 16, 2018 | ||
Mobi | Current |
O'Reilly Media |
Sep 17, 2019 | ||
Other Digital Version | location 1741 top |
Found this error on the kindle version, location 1741. Note from the Author or Editor: |
Ravi | Nov 18, 2019 | |
Page page 49 section 2.3.2.7 table 2-5: Datetime格式化详细说明 |
table 2-5: detetime 格式化详细说明 Note from the Author or Editor: |
chengjq | Apr 18, 2022 | ||
Page Ch. 1. Installing Necessary Packages Note 2, installing packages into conda environment |
In Note 2, Ch. 1. Installing Necessary Packages: |
Alexander de la Paz | Jul 24, 2022 | ||
Ch5 Indexing, selection, and filtering; Table 5-6. Indexing options with DataFrame |
`df.iloc[where]` Selects single row or subset of rows from the DataFrame by label. |
Yung-Jin (Joey) Hu | Feb 14, 2017 | Sep 25, 2017 | |
Other Digital Version | Ch5 Integer Indexes; 4th paragraph |
"an axis index containing *itnegerse*, data selection" |
Yung-Jin (Joey) Hu | Feb 14, 2017 | Sep 25, 2017 |
Ch5 Handling Missing Data; 2nd paragraph |
"The way that missing data is represented in pandas object is somewhat imperfect, but it is functional for a lot of *usres*." |
Yung-Jin (Joey) Hu | Feb 14, 2017 | Sep 25, 2017 | |
Ch5 Sorting and ranking; within the code examples |
It looks like `.sort_values(by=...) is deprecated. |
Yung-Jin (Joey) Hu | Feb 14, 2017 | Sep 25, 2017 | |
Ch5 Summarizing and Computing Descriptive Statistics; code block 3 |
The input variable df is: |
Yung-Jin (Joey) Hu | Feb 14, 2017 | Sep 25, 2017 | |
Ch6 Note within "Indentation, not braces" section |
"I strongly recommend that you use 4 spaces *to* as your default indentation..." |
Yung-Jin (Joey) Hu | Feb 26, 2017 | Sep 25, 2017 | |
Ch6 Slicing Section, 3rd paragraph |
"While element at the start index is included, the stop..." |
Yung-Jin (Joey) Hu | Feb 26, 2017 | Sep 25, 2017 | |
? Table 3-4 |
There are two rows in the table that describe the readlines function. |
Daniel Walter | Aug 02, 2017 | Sep 25, 2017 | |
Ch. 4 Table 4-2. NumPy data types |
the fourth row on the Table 4-2: Signed and unsigned """32"""-bit integer types |
Kim, Jin | Sep 10, 2017 | Sep 25, 2017 | |
3 Boolean Indexing 5th paragraph |
The line of code: |
Yung-Jin (Joey) Hu | Jan 31, 2017 | Sep 25, 2017 | |
3.1 ZIP section |
Code works as it should, but the first name and last name are reversed for Curt Schilling. Need to be a Red Sox fan to pick up on this one. Note from the Author or Editor: |
Anonymous | Oct 01, 2018 | ||
5 statsmodel section |
I am not sure of the page number since I am using Safari books online which doesn't do pagination. |
Bala Ganeshan | Dec 10, 2016 | Sep 25, 2017 | |
Page 9 Last line of Windows discussion |
Text states: To exit the shell, press Ctrl-D or type the command exit() and press return. |
David Welden | Sep 16, 2017 | Sep 25, 2017 | |
Printed | Page 17 2nd Paragraph |
The reference to the IPython should be "Appendix B", not "Appendix A". Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
18 Top of second page of Chapter 2 |
The example uses 1.usa.gov data. This service has been shut down. It would be a pain to craft a whole new opening example, but you might want to. Even if you don't, you might want to let people know it's no longer online so they don't look for it. Note from the Author or Editor: |
John Transue | Dec 06, 2016 | Sep 25, 2017 | |
Printed | Page 19 command |
$jupyter notebook Note from the Author or Editor: |
Gregory Sherman | Jan 14, 2019 | |
Printed | Page 29 top text and commands |
Magic functions can be used by default without the percent sign ... Note from the Author or Editor: |
Gregory Sherman | Apr 13, 2018 | Sep 21, 2018 |
Printed | Page 29 first sentence |
I previously reported this issue, but it's a problem beyond the typo that was addressed in the reply. Note from the Author or Editor: |
Gregory Sherman | Apr 23, 2019 | |
Printed | Page 30 Figure 2-6 |
Running the matplotlib code exactly as printed inside Figure 2-6 gives a Type error: Note from the Author or Editor: |
James Shenton | Apr 15, 2020 | |
Page 37-38 Table 2-3 |
Table 2-3. Binary operators Note from the Author or Editor: |
Ali Tobah | Sep 02, 2020 | ||
Page 38 table 2-3 |
inconsistent description of a <= b, a < b (compared to the next line), should be for a < b, a <= b Note from the Author or Editor: |
B. Goas | Feb 13, 2019 | ||
Page 38 First paragraph of "Mutable and immutable objects" |
Text says "modifiedK", should be "modified:" |
David Welden | Sep 17, 2017 | Sep 25, 2017 | |
Printed | Page 39 Third paragraph under "Numeric Types" |
"Integer division not resulting in a whole number will always yield a floating-point number." Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 44 Last paragraph of "None" section |
"but also a unique instance of NoneType" should be "but also the unique instance of NoneType". Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 46 Code blocks in 2nd and 3rd paragraphs |
Two illegal print statements: Note from the Author or Editor: |
Michael Clark | Nov 05, 2017 | Sep 21, 2018 |
Printed | Page 46 Table 2-5 |
2012-4-18 should be 2012-04-18 Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 47 2 |
2nd edition: under the "for loops" section, 1st line, "iterater" --> "iterator" Note from the Author or Editor: |
E G | Mar 08, 2020 | |
PDF, ePub | Page 51 2nd sentence below 'pass' heading |
" ... to be taken (or as a placeholder for code not yet implemetned); ..." |
Greg Graham | Jun 06, 2017 | Sep 25, 2017 |
Printed | Page 56 First sentence |
Sentence should read: "...which locates the first such value and removes it from the list..." Note from the Author or Editor: |
Thomas Koundakjian | Nov 09, 2017 | Sep 21, 2018 |
Page 60 4th line |
Although it's never explicitly described as such, the output of the dictionary on this page is showing the dictionary as unordered. This would be incorrect, as the book is utilizing Python 3.6, the version in which dictionaries changed to insertion-ordered. Note from the Author or Editor: |
David Bankson | Jun 04, 2020 | ||
Printed | Page 61 Top |
In the example demonstrating zip, you use the names of three pitchers: Nolan Ryan, Roger Clemens, and Curt Schilling. In the example, you use zip to show first names and last names; the first_names has ('Nolan', 'Roger', 'Schilling') and last_names has ('Ryan', 'Clemens', 'Curt') Note from the Author or Editor: |
Jon Ernster | Nov 28, 2017 | Sep 21, 2018 |
Page 65 2nd |
Hello my friend. Note from the Author or Editor: |
E G | Mar 10, 2020 | ||
Printed | Page 66 Table 3-1. Python set operations |
The alternative syntax for a.issubset (b) and a.issuperset (b) shoule be "<=" and "=>" respectively (not N/A). Note from the Author or Editor: |
Daniel Andersson | Feb 03, 2018 | Sep 21, 2018 |
Printed | Page 66 Last paragraph. |
"Like dicts, set elements generally must be immutable." should be "Like dict keys, set elements generally must be immutable." Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 70 bottom of page |
Suppose instead we had declared a as follows: Note from the Author or Editor: |
Gregory Sherman | Apr 14, 2018 | Sep 21, 2018 |
Printed | Page 80 Top line |
"As you will see later in the chapter, you can step into the stack (using the %debug or %pdb magics)..." should start with "As you will see in Appendix B..." Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 82 bottom of page; first entry of Table 3-4 |
Method Description Note from the Author or Editor: |
Gregory Sherman | Apr 15, 2018 | Sep 21, 2018 |
Page 89 3rd paragraph |
I can run following syntax at jupyter notebook: Note from the Author or Editor: |
Anonymous | Mar 29, 2022 | ||
Printed | Page 100 Warning box mid page |
The warning claims boolean selection will not fail if the boolean array is not the correct length. I think this was changed in Numpy 1.13, but is definitely not true in Numpy 1.14.2 Note from the Author or Editor: |
Mladen Kolovic | Apr 08, 2018 | Sep 21, 2018 |
Printed | Page 103 3rd paragraph |
1st release print copy says, “...the result of fancy indexing is always one-dimensional.” However, there are example outputs in this section with more than one dimension. Is that because some of the examples in the section are not fancy indexing? If that’s the case, it’s unclear where the section is building up to a fancy indexing example as opposed to every example being fancy indexing. The number of dimensions in the output seems to be the number of array dimensions plus one minus the number of dimensions indexed. Note from the Author or Editor: |
Stephen Frost | Feb 19, 2018 | Sep 21, 2018 |
Page 108 Table 4-3. Unary ufuncs |
Missing term: "Natural logarithm (base e), log base 10, log base 2, and , respectively". |
A. Jesse Jiryu Davis | May 23, 2017 | Sep 25, 2017 | |
Printed | Page 112,121 first sentence of 112. "Simulating ..." on 121 |
pg 112 first sentence: Note from the Author or Editor: |
Gregory Sherman | Jan 04, 2019 | |
Printed | Page 114 1 |
May want to specify arr.mean(1) is the same as arr.mean(axis=1). Note from the Author or Editor: |
Shivan Sivakumaran | Oct 03, 2020 | |
Page 123 1st Paragraph |
"operations" is misspelled at the location, "Using NumPy functions or NumPy-like oeprations..." |
Ryan Shuhart | Jan 05, 2017 | Sep 25, 2017 | |
Printed | Page 126 first paragraph |
The book states when you are only passing a dict, the index in the resulting Series will have the dict's key in sorted order. However, this is not always the case. Running the code on my system I have the output pasted below. Looking at the output we see that returned series is not in sorted order. Note from the Author or Editor: |
Howard Smith | Aug 30, 2018 | |
Printed | Page 126 2nd paragraph |
"You can override this by passing the dict keys in the order you want them to appear in the resulting Series" Note from the Author or Editor: |
Gregory Sherman | Jan 04, 2019 | |
Printed | Page 128 Ch5.1: Introduction to pandas daa Structures: Series - 8th Para |
The text says "When you are only passing a dict, the resulting Series will have the dict's keys in sorted order". Note from the Author or Editor: |
Gavin Draper | Mar 16, 2021 | |
Printed | Page 138 In[104] |
As presented, this line leads to "FutureWarning: Passing list-likes to .loc with missing label will raise KeyError in future." Revise to avoid warning. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 141 Sentence beginning with word Setting in italics |
Word "section" is misspelled as "sectino" |
Anonymous | Sep 20, 2017 | Sep 25, 2017 | |
Page 145 last paragraph |
"To keep things consistent, if you have an axis index containing integers, data selection will always be label-oriented." Note from the Author or Editor: |
Yang Yang | Oct 18, 2017 | Sep 21, 2018 | |
Printed | Page 145, 146 final paragraph & code following |
[similar to a previously reported issue] Note from the Author or Editor: |
Gregory Sherman | Apr 30, 2019 | |
Printed | Page 158 In [233] |
Row 'c' is populated with 0.0, not NaN. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 160 Table 5-8 |
The text says: "argmin, argmax - Compute index locations (integers) at which minimum or maximum value obtained, respectively" Note from the Author or Editor: |
Andrey Dubinchak | Dec 14, 2017 | Sep 21, 2018 | |
Page 164 table 5-9 |
Looks like instead of method "match" there should be "get_indexer" Note from the Author or Editor: |
Aivar Annamaa | Nov 18, 2017 | Sep 21, 2018 | |
Printed | Page 172 Table 6-2 |
For the argument "names", combining with "header=None" is not needed. Using the parameter "names" implies this. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 173 in Table 6-2 |
The 'iterator' option of pandas.read_csv returns a TextFileReader object, not a TextParser object, since 2012. Note from the Author or Editor: |
Noritada Kobayashi | Nov 05, 2017 | Sep 21, 2018 | |
Page 174 after Out[38] |
As Out[38] shows, the 'iterator' option of pandas.read_csv returns a TextFileReader object, not a TextParser object, since 2012. Note from the Author or Editor: |
Noritada Kobayashi | Nov 05, 2017 | Sep 21, 2018 | |
Page 175 top |
As Out[38] show, the 'iterator' option of pandas.read_csv returns a TextFileReader object, not a TextParser object, since 2012. Note from the Author or Editor: |
Noritada Kobayashi | Nov 05, 2017 | Sep 21, 2018 | |
Printed | Page 176 Bottom of page |
"tuples of values" should be "lists of values". Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 179 Out[64]: result |
In [64]: result Note from the Author or Editor: |
Shaahin Riazi | Apr 18, 2020 | ||
Printed | Page 180 1st paragraph |
Refers to the USDA Food Database example in Chapter 7; in second edition, this example is in Chapter 14.4 (page 436-442) Note from the Author or Editor: |
Laura Hughes | Jan 31, 2018 | Sep 21, 2018 |
Page 182 first block of code for getroot |
Code says the example file is in path: Note from the Author or Editor: |
David Welden | Sep 25, 2017 | Oct 20, 2017 | |
PDF, ePub | Page 184 Link to Apache Arrow in 'Feather' Section |
URL for 'Apache Arrow' points to 'apache.arrow.org' instead of 'arrow.apache.org' |
Joel A | Oct 08, 2017 | Oct 20, 2017 |
Printed | Page 184 last paragraph & [92] |
In[92]: frame = pd.DataFrame({'a': np.random.randn(100)}) Note from the Author or Editor: |
Gregory Sherman | Jan 09, 2019 | |
Printed | Page 185 In [96] |
The command "store" at this point produces only the first two lines of the indicated output - the rest is not produced. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 185 First sentence of final paragraph |
Text reads "...how they can sunit your needs" Note from the Author or Editor: |
David Welden | Sep 25, 2017 | Sep 25, 2017 | |
Printed | Page 186-187 Under heading on 186, second code block on 187 |
This is not so much an error, per se, but a comment on a "may" clause in the book. I'm writing this incase you like to track these sorts of issues. Note from the Author or Editor: |
Jim Sam | Dec 08, 2017 | Sep 21, 2018 |
Printed | Page 186 [105] |
The text and command conflict: Note from the Author or Editor: |
Gregory Sherman | Jan 09, 2019 | |
Page 192 Table 7-1 |
The left column is named as "Argument", which should be "Method". Note from the Author or Editor: |
Noritada Kobayashi | Nov 25, 2017 | Sep 21, 2018 | |
Printed | Page 195 In [35] |
In [35]: _ = df.fillna(0, inplace=True) Note from the Author or Editor: |
Gregory Sherman | May 11, 2019 | |
Printed | Page 204 middle |
In [85]: data = np.random.randn(20) Note from the Author or Editor: |
Gregory Sherman | Jan 10, 2019 | |
Printed | Page 206 last sentence |
"Calling permutation with the length of the axis you want to permute ..." Note from the Author or Editor: |
Gregory Sherman | Jan 10, 2019 | |
Page 208 1st paragraph of a section named "Computing Indicator/Dummy Variables" |
The paragraph says "Let’s return to an earlier example DataFrame". However, since that example is contained in section 8.2 in the 2nd edition, "earlier" is not an appropriate word. Note from the Author or Editor: |
Noritada Kobayashi | Nov 27, 2017 | Sep 21, 2018 | |
Printed | Page 209 In [115] |
The parameter "engine='python'" is needed in this command. Without this, a ParserWarning is produced due to the two character separator. |
John Boersma | Nov 11, 2018 | |
Page 213 Table 7-3 |
The left column is named as "Argument", which should be "Method". Note from the Author or Editor: |
Noritada Kobayashi | Nov 25, 2017 | Sep 21, 2018 | |
Printed | Page 213 Table 7-3 |
The method "strip" is described as "equivalent to x.strip(). Isn't it exactly the same thing, not just equivalent? |
John Boersma | Nov 11, 2018 | |
Page 217 bottom |
It's really not clear what In [176]: matches.str.get(1) is supposed to be returning here. Similarly with In [177]: matches.str[0] and matches.str[0]. Note from the Author or Editor: |
Anonymous | Mar 09, 2018 | Sep 21, 2018 | |
Page 219 Table 7- 5 |
Book say: "match - Use re.match with the passed regular expression on each element, returning matched groups as list" Note from the Author or Editor: |
Andrey Dubinchak | Dec 27, 2017 | Sep 21, 2018 | |
Printed | Page 219 &.4 Conclusion |
"Effective data preparation can significantly improve productive by ..." should read "Effective data preparation can significantly improve productivity by ..." Note from the Author or Editor: |
Francis Lewis | Jan 10, 2018 | Sep 21, 2018 |
Printed | Page 224 The line before the section "Reordering and Sorting Levels" |
The code Note from the Author or Editor: |
Klaus Wang | May 17, 2018 | Sep 21, 2018 |
Page 229 Table 8-1 Different join types with how argument |
Final entry in table is 'output' join. Note from the Author or Editor: |
David Welden | Sep 26, 2017 | Oct 20, 2017 | |
Printed | Page 237 In [86] |
The command as it stands produces a FutureWarning. Either sort=True or sort=False should be added as parameters. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 241 Final paragraph |
The example of Series method combine_first is a bit vague. Although it apparently produces the desired output, the choice of b[:-2] and a[2:] for arguments is not obvious. It appears that it was chosen in order to reorder the index as well as combining data values, but this is not explained. Note from the Author or Editor: |
David Welden | Sep 27, 2017 | Oct 20, 2017 | |
Printed | Page 242 code examples with combine_first |
The operation at the bottom of page 241: Note from the Author or Editor: |
Artem Glebov | Dec 26, 2018 | |
Printed | Page 242 Third example on the page "In [93]:" |
The example describes the use of optional argument "join_axes", this argument, as of 4/5/21, has depreciated and now results in a TypeError. It can be replaced with reindex function now. Note from the Author or Editor: |
Dennis L Gonzales | Apr 06, 2021 | |
Page 244 After Out[131]: |
Note from the Author or Editor: |
Shaahin Riazi | Oct 08, 2020 | ||
Printed | Page 255 In [18] |
As it stands, this line produces a "MatplotlibDeprecationWarning: In future re-calling will create a new instance." Best to revise to avoid a warning. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 255 explanation of [17] |
"In IPython, an empty plot window will appear" Note from the Author or Editor: |
Gregory Sherman | Jan 14, 2019 | |
Printed | Page 259 Middle |
In: Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 274 after Figure 9-17 |
Although mentioned that "tipping dataset used earlier in the book", the tipping dataset does not seem to be used earlier. That dataset is used first in this section and later in Ch. 10. Note from the Author or Editor: |
Noritada Kobayashi | Nov 11, 2017 | Sep 21, 2018 | |
Page 279 After Figure 9-22. |
"distplot" method has been deprecated and removed in newer versions. Note from the Author or Editor: |
Shaahin Riazi | Oct 22, 2020 | ||
Page 283 In [108]: And In[109]: |
Note from the Author or Editor: |
Shaahin Riazi | Oct 22, 2020 | ||
Page 300 In [66]: |
result = grouped['tip_pct', 'total_bill'].agg(functions) —-> needs an extra pair of [] Note from the Author or Editor: |
Shaahin Riazi | Oct 30, 2020 | ||
Printed | Page 301 2nd Paragraph |
"indepedently" should be "independently". Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 311 Top code block |
"for suit in ['H','S','C','D']: " should be "for suit in suits:". Otherwise, there is not point in defining "suits" earlier in the code block. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 335 ts.shift(1, freq='90T') exampe |
This method with 90T parameter should lag the data by 90 minutes at 90 min frequency. Instead, it seems to preserve the monthly frequency and only lag every timestamp by 1:30hr. Am I reading this correctly or is this by design? Clarification would be helpful. Note from the Author or Editor: |
Serge | Jan 25, 2018 | Sep 21, 2018 |
Printed | Page 339 First whole paragraph |
"EST" should be "Eastern Time". The point is that the interval straddles the standard time - daylight savings time boundary. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 340 The source codes which shows Timestamp arithmetic before DST transition |
At the source code, which shows arithmetic before DST transition, Note from the Author or Editor: |
Masato Setoyama | Mar 02, 2018 | Sep 21, 2018 |
Printed | Page 347 [197] - [199] |
"To convert back to timestamps, use to_timestamp:" Note from the Author or Editor: |
Gregory Sherman | Jan 19, 2019 | |
Printed | Page 351 Table 11-5, last row |
convention defaults to 'start', not 'end'. Note from the Author or Editor: |
Hengni Cai | Mar 29, 2018 | Sep 21, 2018 |
Printed | Page 352 1st and 2nd code examples. |
The 2 code examples are the same. Note from the Author or Editor: |
Charbel Sarkis | Sep 27, 2018 | |
Printed, PDF, ePub | Page 358 Figure 11-5 |
Fig 11-5 caption says: Apple 250-day daily return standard deviation. Note from the Author or Editor: |
Anonymous | May 23, 2019 | |
Printed | Page 370 In [50] |
The use of outer parentheses to facilitate line breaks, which is explained on page 381, should really be explained here at the first use. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 378 Text |
The meaning of "unwrapped" here is really unclear. Does this refer to an internal process? The example is the same as on page 376, where "unwrapped" is not mentioned. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 384 1st Paragraph |
The Class 'Pandas.TimeGrouper' does not exist anymore. It has been replaced by ''pandas.Grouper'. The code should be changed with the following – Note from the Author or Editor: |
Ben B | Sep 17, 2020 | |
Printed | Page 390 In [38] |
Need parameter "rcond=None" to suppress FutureWarning. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 437 Between 1st paragraph and 2nd paragraph |
After the last sentence "Then, these can be concatenated together with concat:", it looks some python codes would be needed to make sense. These codes are found in https://github.com/wesm/pydata-book/blob/2nd-edition/ch14.ipynb , the below: Note from the Author or Editor: |
Haruyoshi TAKIGUCHI | Apr 03, 2018 | Sep 21, 2018 | |
Page 452 1st paragraph |
The paragraph states that "the result is shown in Figure A-3", but Figure A-3 is "illustration", not "result" (just a cosmetic issue). Note from the Author or Editor: |
Noritada Kobayashi | Nov 26, 2017 | Sep 21, 2018 | |
Page 467 center of the page |
The paragraph states that "the output of outer will have a dimension that is the sum of the dimensions of the inputs". Note from the Author or Editor: |
Noritada Kobayashi | Nov 26, 2017 | Sep 21, 2018 | |
Page 473 Code example 188 |
It would be better to make a zipped result more pretty for the last code example as follows: Note from the Author or Editor: |
Noritada Kobayashi | Nov 27, 2017 | Sep 21, 2018 | |
Printed | Page 479 [214] through [215] |
In [214]: numba_mean_distance = nb.jit(mean_distance) Note from the Author or Editor: |
Gregory Sherman | Feb 01, 2019 | |
Printed | Page 482 Top |
"mmap" is a fairly large file on disk. It would be good to add a command to delete it when done here. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 483 [230] and [231], plus preceding text |
"In this example, summing the rows of these arrays should, in theory, be faster for arr_c than arr_f ..." Note from the Author or Editor: |
Gregory Sherman | Jan 30, 2019 | |
Printed | Page 483 preceding text and [230] and [231] |
[more on same issue] Note from the Author or Editor: |
Gregory Sherman | Feb 02, 2019 | |
Page 485 The first paragraph and code |
Original: Note from the Author or Editor: |
Haruyoshi TAKIGUCHI | Apr 28, 2018 | Sep 21, 2018 | |
Printed | Page 487 Scorpion comment |
The comment that deleting a variable does not free up memory appears to be incorrect. After using del I had a decrease in memory used on my mac as shown on activity monitor. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Printed | Page 491 Middle |
"works_fine" method should be "works_fine function". Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Page 494 The first code quote in the section "Basic Pro ling: %prun and %run -p" |
Found two syntax errors in Python3. Note from the Author or Editor: |
Haruyoshi TAKIGUCHI | Apr 08, 2018 | Sep 21, 2018 | |
Printed | Page 495 In [561] and In [562] |
Reported Wall times are way off. More like 250ms and 100ms. Note from the Author or Editor: |
John Boersma | Nov 11, 2018 | |
Other Digital Version | 2255 Functions Are Objects (section) |
In Amazon Kindle version, Chapter 3: Section "Functions Are Object", the text explains that the code: Note from the Author or Editor: |
Kyle Jeffreys | May 16, 2020 | |
Mobi | Page 2621 |
"For large DataFrames, the head method is useful to get see the first 5 rows:" |
Bridgeland | Mar 29, 2017 | Sep 25, 2017 |