woodwork.logical_types.NaturalLanguage#
- class woodwork.logical_types.NaturalLanguage[source]#
Represents Logical Types that contain text or characters representing natural human language
Examples
["This is a short sentence.", "I like to eat pizza!", "When will humans go to mars?"]
- __init__()#
Methods
__init__
()transform
(series[, null_invalid_values])Converts the series dtype to match the logical type's if it is different.
validate
(series, *args, **kwargs)Validates that a logical type is consistent with the series dtype.
Attributes
primary_dtype
standard_tags
type_string