to_index

UnitsAwareDataArray.to_index() Index

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