get_index

UnitsAwareDataArray.get_index(key: Hashable) Index

Get an index for a dimension, with fall-back to a default RangeIndex