Registry / data / featuretools

featuretools

JSON →
library1.31.0pypypiunverified

Featuretools is an open-source Python library for automated feature engineering. It excels at transforming temporal and relational datasets into feature matrices suitable for machine learning. The library, currently at version 1.31.0, is actively maintained by Alteryx and follows a frequent release cadence, often introducing new features and improvements.

pip install featuretools
INSTALL
IMPORT
SIG · FEATURETOOLS
F
featuretools
datapythonv1.31.0
Install
15.1s avg
Import
4795ms
Disk
376MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.31.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.910 runs
build_error
glibc
py 3.10–3.910 runs
installs and imports cleanly · install 15.1s · import 2.877s · 363MB
376MB installed
● package 376MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

featuretools
✓ import featuretools
✗ import featuretools

This quickstart demonstrates how to load a multi-table dataset into an EntitySet, define a target dataframe, and then use Deep Feature Synthesis (DFS) to automatically generate a rich set of features. It utilizes built-in aggregation and transform primitives to create new meaningful features for a machine learning task.

import featuretools as ft import pandas as pd # Load mock customer data into an EntitySet es = ft.demo.load_mock_customer(return_entityset=True) # Define target dataframe for feature engineering target_dataframe_name = "customers" # Run Deep Feature Synthesis (DFS) feature_matrix, feature_defs = ft.dfs( entityset=es, target_dataframe_name=target_dataframe_name, agg_primitives=["count", "sum", "mean"], trans_primitives=["day", "month", "weekday"] ) print(feature_matrix.head())
Debug
Known issues
breakingAs of Featuretools v1.31.0, EntitySets can no longer be created directly from Dask or PySpark DataFrames. This functionality has been removed. Users must convert their Dask/PySpark DataFrames to pandas DataFrames first.
fix
Convert Dask or PySpark DataFrames to pandas DataFrames before creating an EntitySet. For Dask, use `.compute()` to get a pandas DataFrame.
affects: >=1.31.0
breakingThe `featuretools` command-line interface (CLI) has been completely removed in version 1.31.0.
fix
All CLI functionalities must now be performed programmatically within Python scripts.
affects: >=1.31.0
breakingFeaturetools v1.0.0 introduced significant breaking changes by replacing its legacy custom typing system with Woodwork. The `Entity` and `Variable` classes were removed, and `EntitySet` creation and primitive definitions changed. Columns now use Woodwork `LogicalType` and `semantic_tags` for type information.
fix
Refer to the 'Transitioning to Featuretools Version 1.0' guide for detailed migration steps. Key changes include using `Woodwork DataFrames` and accessing column metadata via the `.ww` accessor on DataFrames within an EntitySet.
affects: >=1.0.0
gotchaDask is now an optional dependency. If you use `calculate_feature_matrix` with `n_jobs` set to anything other than 1 (to enable parallel processing), you must explicitly install Dask.
fix
Install Dask with `pip install "featuretools[dask]"` or `pip install dask[dataframe]` before running parallel computations.
affects: >=1.31.0
Upgrade
Version history
1.31.0latest on PyPI · released May 14, 2024
Audit
Dependencies
daskoptionalRequired for parallel computation when `n_jobs` > 1 in `calculate_feature_matrix`.
graphvizoptionalRequired for plotting EntitySets or feature lineage graphs (`EntitySet.plot` or `featuretools.graph_feature`).
Agent activity
22 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
featuretools — pip install featuretools · libregistry