pyinterp.cf.AxisUnit

class pyinterp.cf.AxisUnit(iterable=(), /)[source]

Bases: list

Units management for axes.

__init__(*args, **kwargs)

Methods

AxisUnit.append(object, /)

Append object to the end of the list.

AxisUnit.clear()

Remove all items from list.

AxisUnit.copy()

Return a shallow copy of the list.

AxisUnit.count(value, /)

Return number of occurrences of value.

AxisUnit.extend(iterable, /)

Extend list by appending elements from the iterable.

AxisUnit.index(value[, start, stop])

Return first index of value.

AxisUnit.insert(index, object, /)

Insert object before index.

AxisUnit.pop([index])

Remove and return item at index (default last).

AxisUnit.remove(value, /)

Remove first occurrence of value.

AxisUnit.reverse()

Reverse IN PLACE.

AxisUnit.sort(*[, key, reverse])

Stable sort IN PLACE.

Attributes

AxisUnit.units

Get the list of known units.