Skip to content

featurebyte.FeatureList.list_versions

list_versions(
*,
include_id: Optional[bool]=True
) -> pd.DataFrame

Description

Returns a DataFrame that presents a summary of the feature list versions belonging to the namespace of the FeatureList object. The DataFrame contains multiple attributes of the feature list versions, such as their versions names, deployment states, creation dates and the percentage of their features that are production_ready.

Parameters

  • include_id: Optional[bool]
    default: True
    Whether to include FeatureList object id in the output table.

Returns

  • pd.DataFrame
    Table of feature lists

Examples

List saved FeatureList versions (calling from FeatureList class):

>>> FeatureList.list_versions()
                   name  num_feature  online_frac  deployed              created_at
0  invoice_feature_list            1          0.0     False 2023-03-24 05:05:24.875
List FeatureList versions with the same name (calling from FeatureList object):

>>> feature_list = catalog.get_feature_list("invoice_feature_list")
>>> feature_list.list_versions()
                   name  num_feature  online_frac  deployed              created_at
0  invoice_feature_list            1          0.0     False 2023-03-24 01:53:51.515

See Also