fields.base.SparseField.keys#

SparseField.keys() Iterable#

Return a view of the component indices in the field.

This is equivalent to calling .keys() on the underlying component dictionary.

Returns:

A view over the field’s component indices.

Return type:

KeysView