to_index

UnitsAwareDataArray.to_index() pandas.core.indexes.base.Index

Convert this variable to a pandas.Index. Only possible for 1D arrays.