Errata

Data Science from Scratch

Errata for Data Science from Scratch, Second Edition

Submit your own errata for this product.

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
Printed
Page 38
Type Annotations

Duplicate "it" in the sentence below, looks like a typo:

"That means that _it_ in general it doesn't care..."

Should be "That means that in general it doesn't care..."

Irina  Jul 06, 2019 
Printed
Page 73
6th paragraph

For instance, if you don't mind being angrily accused of... **the text after this is italicized and strangely formatted**

Note from the Author or Editor:
formatting mistake, the hyperlink got formatted wrong

The URL https://www.nytimes.com/2014/06/30/technology/facebook-tinkers-with-users-emotions-in-news-feed-experiment-stirring-outcry.html should be hyperlinked to "experimenting on your users" and italics unnecessary, except for the word "causes"

Maximilian Rohde  Sep 10, 2019 
ePub
Page 83
first two function definitions

def total(xs: list) -> float:
return sum(total)

I think this should be

def total(xs: list) -> float:
return sum(xs)

Likewise for

def total(xs: List[float]) -> float:
return sum(total)

The argument for sum() should be xs rather than total.

P.S. Wonderful book, seems aimed right where I am -- unless I am totally wrong above, in which case I have some prep work to do.

Note from the Author or Editor:
the proposed fix (replacing "total" with "xs" in two places) is correct

Matthew  May 18, 2019