small medium large xlarge

The latest version of the book is P1.0, released over 1 year ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: B2.0 (13-Aug-16)
#80619
PDF page: 13

The search time for Python sets and dicts is O(1), not O(log(N)) as stated in Unit 5. The underlying algorithm is a hash table.--Luciano Ramalho

  • Reported in: B2.0 (13-Aug-16)
#80620
PDF page: 15
At the bottom of the page, you mention that a comprehension enclosed in parenthesis evaluates to a "list generator object". This is non-standard termi...more...
  • Reported in: B2.0 (05-Aug-16)
#80577
PDF page: 29
Paper page: 14

Chapter 2 Unit 5
In the second line of the top paragraph , the variable name of vseq is misspell as vsec .--Joyce Wen

  • Reported in: P1.0 (19-Oct-16)
#80817
PDF page: 35
In the code on this page there is a parameter on the "try" section: file=sys.err, it doesn't work on Anaconda 4.1, I use file=sys.stderr and it worked...more...
  • Reported in: P1.0 (31-Oct-16)
#80842
Paper page: 43
I believe the code: words = [ls.stem(w) for w in text if w not in should be: words = [ls.stem(w) for w in words if w not in Or am I mistaking?--...more...
  • Reported in: P1.0 (20-Oct-16)
#80820
PDF page: 58
On the code at the end of the book, when the Stemmer is created I got an error on Python 3.5, I just used: ls = LancasterStemmer()--Jose Arturo Mor...more...
  • Reported in: P1.0 (26-Jul-17)
#81885
PDF page: 59
In the code example on this page there is no variable 'text', it should be 'words' # Eliminate stop words and stem the rest of the words words = [...more...
  • Reported in: P1.0 (02-Mar-17)
#81172
PDF page: 104
Paper page: 105
Chapter 6. Working with Data Series and Frames - 104page unit 34. Combining Data Deleting Duplicates The duplicated([subset]) function return...more...
  • Reported in: P1.0 (21-Oct-16)
#80825
PDF page: 127
In the paragraph were the "qcut()" function is introduced (second paragraph) the qcut() and cut() function are misspelled as "qcuts()" and "cuts()". -...more...
  • Reported in: P1.0 (23-Oct-16)
#80827
PDF page: 150
The plotting example is nice, however in my opinion it's a little bit complex for beginners reading this book, I suggest to introduce this section wit...more...
  • Reported in: P1.0 (24-Oct-16)
#80829
PDF page: 172
There is a type in the first paragraph on this phrase: "You cannot just claim that your data mode predicts something..." I guess the last part of the ...more...