Before archiving a feature:
- Remove the feature from any FeatureGroups it belongs to.
- Ensure the feature has no active data in the feature catalog.
Example: Archive and delete a feature
fs.archive_feature("sales_revenue")
fs.delete_feature("sales_revenue")
Example using feature object
feature = Feature("sales_revenue", df.revenue)
fs.archive_feature(feature)
fs.delete_feature(feature)