-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Creating this issue to keep track of which classes/function could benefit from adopting Narwhals.
| Class/Function/Module | Status | Related | Notes |
|---|---|---|---|
preprocessing.ColumnDropper |
β | Solved in #655 | |
preprocessing.ColumnSelector |
β | Solved in #659 | |
preprocessing.PandasTypeSelector |
β | Solved in #670 | Consider creating another class TypeSelector and deprecate this one |
common.TrainOnlyTransformerMixin |
π² | Uses specific pandas hashing functionality. I wonder how crucial is to hash the index as well. If it's not we could just use .to_numpy() and hash the array data? |
|
model_selection.TimeGapSplit |
β | Solved in #668 | |
model_selection.GroupedTimeSeriesSplit |
π² | Related to #605 | |
projections.InformationFilter |
β | Solved in commit | |
meta.RegressionOutlierDetector |
β | Solved in #665 | |
meta.hierarchical_predictor.py |
β | Solved in #667 | |
meta.grouped_transformer.py |
β | Solved in #667 | |
meta.grouped_predictor.py |
β | Solved in #667 | |
linear_models._FairClassifier |
β | Solved in #669 | |
pandas_utils.py |
π§ | Partially #661 | (*) |
datasets.py |
π« | It would require read_csv function |
Personally I would wait to have at least preprocessing.pandastransformers.py entire migration before bumping to v0.9.0.
(*) Regarding pandas_utils
Changing log_step to narwhals is fairly easy (~4 lines of code), however as this decorator is supposed to work for any function that operates on pandas, doing so would limit its functionality. It could be reasonable to add another one which although restricted to narwhals methods, it can interoperate with all its compatible dataframes.
Legend
β
Done
π§ WIP
π² Not Started
π« Won't do
anopsy
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request