larray.AxisCollection.labels
- property AxisCollection.labels: List[Iterable[Union[bool, int, float, str, bytes, generic]]]
Return the list of labels of the axes.
- Returns
- list
List of labels of the axes.
Examples
>>> age = Axis(range(10), 'age') >>> time = Axis([2007, 2008, 2009, 2010], 'time') >>> AxisCollection([age, time]).labels [array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]), array([2007, 2008, 2009, 2010])]