larray.AxisCollection.info
- property AxisCollection.info: str
Describe the collection (shape and labels for each axis).
- Returns
- str
Description of the AxisCollection (shape and labels for each axis).
Examples
>>> age = Axis(20, 'age') >>> sex = Axis('sex=M,F') >>> time = Axis([2007, 2008, 2009, 2010], 'time') >>> AxisCollection([age, sex, time]).info 20 x 2 x 4 age* [20]: 0 1 2 ... 17 18 19 sex [2]: 'M' 'F' time [4]: 2007 2008 2009 2010