Convert this variable to a pandas.Index. Only possible for 1D arrays.
(self)
| 841 | return self.variable._to_index() |
| 842 | |
| 843 | def to_index(self) -> pd.Index: |
| 844 | """Convert this variable to a pandas.Index. Only possible for 1D |
| 845 | arrays. |
| 846 | """ |
| 847 | return self.variable.to_index() |
| 848 | |
| 849 | @property |
| 850 | def dims(self) -> tuple[Hashable, ...]: |