gustaf.helpers.data.Unique2DIntegers#

class gustaf.helpers.data.Unique2DIntegers(values, ids, inverse, counts)#

Bases: tuple

namedtuple to hold unique information of integer type arrays. Similar approach to Unique2DFloats.

Methods

Attributes

Unique2DIntegers.counts

(n) np.ndarray Field number 3

Unique2DIntegers.ids

(n) np.ndarray Field number 1

Unique2DIntegers.inverse

(m) np.ndarray Field number 2

Unique2DIntegers.values

(n, d) np.ndarray Field number 0