Closed tobyhodges closed 1 year ago
In Data Types and Formats, section Missing Data Values - NaN, the error type mentioned as being raised has changed. The episode text currently states:
Notice that this throws a value error: ValueError: Cannot convert NA to integer.
ValueError: Cannot convert NA to integer
but in recent versions of pandas the type of error thrown is much more specific pandas.errors.IntCastingError: Cannot convert non-finite values (NA or inf) to integer
pandas.errors.IntCastingError: Cannot convert non-finite values (NA or inf) to integer
The episode should be updated to reflect this.
In Data Types and Formats, section Missing Data Values - NaN, the error type mentioned as being raised has changed. The episode text currently states:
but in recent versions of pandas the type of error thrown is much more specific
pandas.errors.IntCastingError: Cannot convert non-finite values (NA or inf) to integer
The episode should be updated to reflect this.