Skip to content

Commit 1f0dd2f

Browse files
authored
guide.md: change wording of Types challenge
Re-wrote "Challenge - Changing Types" to emphasize request for students to comprehend output of command
1 parent 0dabf49 commit 1f0dd2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_extras/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ stack_selection.columns = stack_selection.columns.droplevel()
245245

246246
### Challenge - Changing Types
247247

248-
* Try converting the column `plot_id` to floats using `surveys_df.plot_id.astype("float")`. Next try converting `weight` to an integer. What goes wrong here? What is Pandas telling you?
248+
* Try converting the column `plot_id` to floats using `surveys_df.plot_id.astype("float")`. Then, try converting the contents of the `weight` column to an integer type. What error message does Pandas give you? What does this error mean?
249249

250250
Pandas cannot convert types from float to int if the column contains NaN values.
251251

0 commit comments

Comments
 (0)