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)What the rule reports
Section titled “What the rule reports”Calls to get_feature_types(...) in files that import effector.
How to fix it
Section titled “How to fix it”Call effector.ingestion.infer_feature_types(...) instead. Qualified effector.utils.get_feature_types(...) calls autofix safely with xpd check --fix.
Diagnostic message
Section titled “Diagnostic message”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.