larray.Axis.ignore_labels
- Axis.ignore_labels() Axis [source]
Return a wildcard axis with the same name and length than this axis.
Useful when you want to apply operations between two arrays with the same shape but incompatible axes (different labels).
- Returns
- Axis
Examples
>>> a = Axis('a=a1,a2') >>> a Axis(['a1', 'a2'], 'a') >>> a.ignore_labels() Axis(2, 'a')