Data Wrangling with Python

Errata for Data Wrangling with Python

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
Printed Page 232
4th paragraph code

In the penultimate line of code for generating the cpi rows, the second argument of the get_new_array function printed there throws up an error. As printed, it reads:

cpi_rows = get_new_array(cpi_rows, float_to_str)

but float_to_str is undefined.

Should it be:

cpi_rows = get_new_array(cpi_rows, remove_bad_chars) ?

Nicky Dean  Mar 02, 2019