biomol.core.FeatureContainer.remove#

FeatureContainer.remove(*keys)[source]#

Remove features by their keys.

Parameters:

*keys (str) – Keys of the features to remove.

Return type:

FeatureContainer

Notes

This method returns a new FeatureContainer instance and does not modify the current instance.

Examples

container = FeatureContainer(...)
new_container = container.remove("coord", "element")