NOTICE
The upcoming release of Featuretools 1.0.0 contains several breaking changes. Users are encouraged to test this version prior to release by installing from GitHub:
pip install https://github.com/alteryx/featuretools/archive/woodwork-integration.zip
For details on migrating to the new version, refer to Transitioning to Featuretools Version 1.0. Please report any issues in the Featuretools GitHub repo or by messaging in Alteryx Open Source Slack.
featuretools.computational_backends.
replace_inf_values
Replace all np.inf values in a feature matrix with the specified replacement value.
np.inf
feature_matrix (DataFrame) – DataFrame whose columns are feature names and rows are instances
replacement_value (int, float, str, optional) – Value with which np.inf values will be replaced
columns (list[str], optional) – A list specifying which columns should have values replaced. If None, values will be replaced for all columns.
feature_matrix