Overview
This is an umbrella issue for the complete migration of feature-engine to use Narwhals, enabling support for Polars dataframes in addition to Pandas.
Scope
The migration involves updating every single transformer in the library to work with Narwhals, ensuring compatibility with both Pandas and Polars backends.
Migration Details
- Branch:
narwhals-migration
- Strategy: One PR per transformer for focused, reviewable changes
- Goal: Enable users to use Polars dataframes seamlessly alongside Pandas
Work Items
Each transformer will need to be updated to:
- Use Narwhals API for dataframe operations
- Maintain backward compatibility with Pandas
- Support Polars as an additional backend
- Update tests to cover both backends
Expected Outcomes
- Full Narwhals integration across all transformers
- Seamless support for both Pandas and Polars dataframes
- Consistent API experience for users regardless of backend selection
Related
Migration happening in the narwhals-migration branch.
FYI @FBruzzesi
Overview
This is an umbrella issue for the complete migration of feature-engine to use Narwhals, enabling support for Polars dataframes in addition to Pandas.
Scope
The migration involves updating every single transformer in the library to work with Narwhals, ensuring compatibility with both Pandas and Polars backends.
Migration Details
narwhals-migrationWork Items
Each transformer will need to be updated to:
Expected Outcomes
Related
Migration happening in the
narwhals-migrationbranch.FYI @FBruzzesi