EuroPython sprints
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- pandas, python, scikit-learn
- Domain
- api, machine-learning
Research direction
Start by reading the sprint activities and choose one improvement to scope; the issue does not name files, tests, or a specific transformer. Then inspect the relevant API and its existing tests. Done means the selected change has tests and documentation and preserves backward compatibility where possible.
Written by the indexing model from the issue text.
Description
Modernising Feature-engine: Evolving the API for a Changing Python Ecosystem
Introduction
Feature-engine was originally designed to bridge the gap between pandas and
scikit-learn at a time when scikit-learn only accepted NumPy arrays. Its design
decisions were intended to guide users towards good practices by raising errors
when transformers were used in inappropriate contexts.
The Python machine learning ecosystem has evolved considerably since then.
Scikit-learn now supports pandas natively, Polars has become a popular dataframe
library, and users users have requested greater flexibility from Feature-engine
transformers. To ensure the project continues to meet the needs of its users,
its API needs to evolve while preserving backward compatibility as much as
possible.
During this sprint, we will work on implementing the next generation of
Feature-engine's API, making it more flexible, faster, and compatible with
modern data processing libraries, while maintaining backward compatibility
wherever possible.
Sprint Activities
Participants will work together on the following improvements:
-
Modernise the dataframe API by adding support for Polars while allowing
users to choose the installation that best suits their needs: a pandas-only
installation, a Polars-only installation, or support for both backends. -
Extend flexible error handling across the library. The variable selection
utilities already allow users to choose between raising an error or continuing
when conditions are not met. During the sprint, we will extend this behaviour
to the transformers so that users can opt for stricter or more permissive
workflows. -
Introduce configurable behaviour for transformation-specific errors. For
example, transformers that apply logarithmic transformations currently fail
when negative values are present. We will extend the API to provide suitable
options that allow the transformation to continue when appropriate, instead of
raising an exception. -
Improve performance by modernising internal implementations. Where
possible, we will replace pandas operations with equivalent NumPy
implementations to improve execution speed while preserving the existing
public API and maintaining backward compatibility as much as possible. -
Write tests and documentation for the new functionality to ensure
reliability and provide clear guidance for users adopting the updated API.
The sprint is suitable for contributors interested in machine learning
libraries, API design, testing, documentation, and open source development.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 391
- Avg merge
- 11h 34m
- Merged PRs (30d)
- 11
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from feature-engine/feature_engine
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
feature-engine/feature_engine#1141 · 1 comment ·
Maintainers usually reply within 1 day
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
feature-engine/feature_engine#393 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
feature-engine/feature_engine#1140 · 2 comments ·
Maintainers usually reply within 1 day
-
CategoricalImputer fails when fill_value is already a categoryPossibly taken @AryanRG claimed this 12 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 18/100
feature-engine/feature_engine#1113 · 2 comments ·
Maintainers usually reply within 1 day
-
OneHotEncoder loses a dummy name when it matches an encoded input columnPossibly taken @Aadrit555 claimed this 7 days ago. Open
Difficulty 3/5 Half a day Newbie friendliness 25/100
feature-engine/feature_engine#1106 · 1 comment ·
Maintainers usually reply within 1 day
All issues in feature-engine/feature_engine
Similar issues
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
MakazhanAlpamys/Soup#3589 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-connect#1266 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
biosustain/growthcurves_app#89 ·
Maintainers usually reply within 1 day
-
`LogProxyConsumer._on_relation_departed` raises `APIError` when the promtail service does not existOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
canonical/loki-k8s-operator#695 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day