pasteur.marginal.numpy.AttrSelector#

class pasteur.marginal.numpy.AttrSelector(name, common, cols)[source]#

Attributes

cols

Alias for field number 2

common

Alias for field number 1

name

Alias for field number 0

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

cols: dict[str, int]#

Alias for field number 2

common: int#

Alias for field number 1

count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

name: str#

Alias for field number 0