woodwork.table_accessor.WoodworkTableAccessor.validate_logical_types

WoodworkTableAccessor.validate_logical_types(return_invalid_values=False)[source]

Validates the dataframe based on the logical types. If a column’s dtype does not match its logical type’s required dtype, will raise a TypeValidationError even when return_invalid_indices is True.

Parameters

return_invalid_values (bool) – Whether or not to return invalid data values

Returns

If return_invalid_values is True, returns invalid data values.

Return type

DataFrame