woodwork icon indicating copy to clipboard operation
woodwork copied to clipboard

Handle `return_invalid_indices` parameter in LatLong and Ordinal validate methods

Open tamargrey opened this issue 2 years ago • 0 comments

In #1315, we moved the logical type validation logic to validate methods for the Ordinal and LatLong classes. This allows them to be called and validated at woodwork initialization. In that PR, however, we didn't implement the logic to return_invalid_indices, which gets used by TableAccessor.validate_logical_types to let users know which rows of their dataframe are invalid for their logical type.

We should implement this logic on Ordinal and LatLong logical types, so users can get information about which columns are invalid for that logical type.

tamargrey avatar Mar 11 '22 21:03 tamargrey