Data Science from Scratch

Errata for Data Science from Scratch

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.

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
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.

Matthew  May 18, 2019 
Printed Page 105
Usich Gradient

def sum_of_squares_gradient(v: Vector) -> Vector: return [2 * vi for vi in v] should be vi **2 to raise to the

Anonymous  May 25, 2019