is_segmented_index()¶
- audformat.is_segmented_index(obj)[source]¶
Check if object has a segmented index.
Returns
True
if index is a segmented index conform to table specifications.- Parameters
- Return type
- Returns
True
if index is segmented, otherwiseFalse
Examples
>>> is_segmented_index(segmented_index()) True >>> is_segmented_index(pd.Index([])) False