Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
88d15bc
Add TextFeatures transformer for extracting text features
ankitlade12 Feb 9, 2026
848670f
Fix string dtype detection for pandas 2/3 compatibility
ankitlade12 Feb 9, 2026
d543d58
Restore documentation files for TextFeatures transformer
ankitlade12 Feb 11, 2026
1ed7777
Add tests to improve coverage for TextFeatures transformer
ankitlade12 Feb 11, 2026
a4ab4ad
Fix Sphinx docstring: escape feature_names_in_ reference
ankitlade12 Feb 11, 2026
0b8a183
Add tests for full coverage of TextFeatures validation and tags
ankitlade12 Feb 11, 2026
c38e81a
Address reviewer comments and optimize TextFeatures extraction
ankitlade12 Feb 13, 2026
ef22d6f
Fix style violations and broken tests
ankitlade12 Feb 13, 2026
cbaf426
Address reviewer suggestions: rename unique_word_ratio to lexical_div…
ankitlade12 Feb 16, 2026
5c8e4d7
Fix Sphinx build: add missing blank line after code-block
ankitlade12 Feb 16, 2026
d5d8994
Refactor TextFeatures tests and address reviewer comments
ankitlade12 Feb 22, 2026
a049233
Fix mypy invariant type error for check_contains_na
ankitlade12 Feb 22, 2026
91fd840
Autoformat files using black to resolve flake8 line-length constraints
ankitlade12 Feb 22, 2026
43b0b97
Fix flake8 E501 line length errors by splitting long string literals
ankitlade12 Feb 22, 2026
70aa894
Remove unused sklearn tags logic to satisfy 100% Codecov threshold
ankitlade12 Feb 22, 2026
41aed3c
Remove unused feature_engine.tags import flagged by flake8
ankitlade12 Feb 22, 2026
f830ca2
refactor for readability
solegalli Feb 22, 2026
04e0795
refactor fillna for computations with 0
solegalli Feb 22, 2026
a318e39
update docstring
solegalli Feb 22, 2026
c2da382
removes sentence from fit docstring
solegalli Feb 22, 2026
96b7df9
upadte fit method dosctring
solegalli Feb 22, 2026
a75b1ce
replace function to check for na
solegalli Feb 22, 2026
9af9ab3
update first init test
solegalli Feb 23, 2026
b749709
remove comment from test
solegalli Feb 23, 2026
a914a80
add parameter to fit attributes test
solegalli Feb 23, 2026
d001652
add parameters to test var type
solegalli Feb 23, 2026
bbe7a94
add error message to na error test
solegalli Feb 23, 2026
2fef52d
add error message to na test
solegalli Feb 23, 2026
52047d8
refactor text features tests
solegalli Feb 23, 2026
24f8675
code style
solegalli Feb 23, 2026
6176931
break lines in user guide
solegalli Feb 23, 2026
3ca6b17
fix code style
solegalli Feb 23, 2026
1e28990
fix: restore cast to avoid mypy list invariant error
ankitlade12 Feb 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Please share your story by answering 1 quick question
* Variable Creation
* Variable Selection
* Datetime Features
* Text Features
* Time Series
* Preprocessing
* Scaling
Expand Down Expand Up @@ -146,6 +147,9 @@ Please share your story by answering 1 quick question
* DatetimeFeatures
* DatetimeSubtraction
* DatetimeOrdinal

### Text Features
* TextFeatures

### Time Series
* LagFeatures
Expand Down
1 change: 1 addition & 0 deletions docs/api_doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Creation

creation/index
datetime/index
text/index


Selection
Expand Down
6 changes: 6 additions & 0 deletions docs/api_doc/text/TextFeatures.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TextFeatures
============

.. autoclass:: feature_engine.text.TextFeatures
:members:

13 changes: 13 additions & 0 deletions docs/api_doc/text/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. -*- mode: rst -*-

Text Features
=============

Feature-engine's text transformers extract numerical features from text/string
variables.

.. toctree::
:maxdepth: 1

TextFeatures

6 changes: 6 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Feature-engine includes transformers for:
- Creation of new features
- Feature selection
- Datetime features
- Text features
- Time series
- Preprocessing
- Scaling
Expand Down Expand Up @@ -260,6 +261,11 @@ extract many new features from the date and time parts of the datetime variable:
- :doc:`api_doc/datetime/DatetimeSubtraction`: computes subtractions between datetime variables
- :doc:`api_doc/datetime/DatetimeOrdinal`: converts datetime variables into ordinal numbers

Text:
~~~~~

- :doc:`api_doc/text/TextFeatures`: extracts numerical features from text/string variables

Feature Selection:
~~~~~~~~~~~~~~~~~~

Expand Down
1 change: 1 addition & 0 deletions docs/user_guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Creation

creation/index
datetime/index
text/index


Selection
Expand Down
Loading