Typo in 'First Model with scikit-learn'?

Hi,
in line 4 you wrote :

data = adult_census.drop(columns=[target_name,])

but I do not think the comma after target_name is necessary :wink:

same thing for line 15

You are right, in this case it is not necessary.

Just for completeness of my answer, a comma at the end of a series of values in an array or array like object is called a trailing comma, e.g., [1, 2, 3, ]. They are ignored by the compiler and are particularly useful when generating code for populating a list: just generate a sequence of elements and commas, no need to consider the last one as a special case that shouldn’t have a comma at the end.