Loads the features from a filepath, S3 path, URL, an open file, or a JSON formatted string.
features (str or
FileObject) – The location of where features has
saved which this must include the name of the file, or a JSON formatted (been) –
or a readable file handle where the features have been saved. (string,) –
profile_name (str, bool) – The AWS profile specified to write to S3. Will default to None and search for AWS credentials. Set to False to use an anonymous profile.
Feature definitions list.
- Return type
Features saved in one version of Featuretools or python are not guaranteed to work in another. After upgrading Featuretools or python, features may need to be generated again.
filepath = os.path.join('/Home/features/', 'list.json') ft.load_features(filepath) f = open(filepath, 'r') ft.load_features(f) feature_str = f.read() ft.load_features(feature_str)