woodwork.utils.get_valid_pearson_types

woodwork.utils.get_valid_pearson_types()[source]

Generate a list of LogicalTypes that are valid for calculating Pearson correlation. Note that index columns are not valid for calculating dependence, but their types may be returned by this function.

Parameters

None

Returns

A list of the LogicalTypes that can be use to calculate Pearson correlation

Return type

list(LogicalType)