Errata

Machine Learning Interviews

Errata for Machine Learning Interviews

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 160
Code block 2/3 of the way down the page

A .json object is imported as a Pandas DataFrame using :

user_signins_df = pd.DataFrame(user_signins["user_signins"])

The .json object presented on page 159, named Table 1, was a dictionary defined as (abridged):

user_logins = {"user_logins": [.....
]}

So the user_signins variable name used in importing Table 1 (a .json object) should in fact be user_logins, unless I've misunderstood something.

It's small potatoes, but as a coding student I paused a good long while trying to understand what I'd missed. If the error is mine, I apologize.

ValĂ©rie Dier   Jun 03, 2024