Skip to content

effector/deprecated-get-feature-types

Pack Severity Fix Versions
effector warning safe, with xpd check --fix All versions

effector.utils.get_feature_types() emits a DeprecationWarning in effector 0.6. Use effector.ingestion.infer_feature_types() (or effector.from_dataframe() for pandas DataFrames).

types = effector.utils.get_feature_types(X)
types = effector.ingestion.infer_feature_types(X)

Calls to get_feature_types(...) in files that import effector.

Call effector.ingestion.infer_feature_types(...) instead. Qualified effector.utils.get_feature_types(...) calls autofix safely with xpd check --fix.

effector.utils.get_feature_types() is deprecated and emits a DeprecationWarning. Use effector.ingestion.infer_feature_types() instead.

See all rules in the effector pack.