reV.hybrids.hybrids.RatioColumns

class RatioColumns(num, denom, fixed)

Bases: tuple

Create new instance of RatioColumns(num, denom, fixed)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

denom

Alias for field number 1

fixed

Alias for field number 2

num

Alias for field number 0

__add__(value, /)

Return self+value.

__mul__(value, /)

Return self*value.

count(value, /)

Return number of occurrences of value.

denom

Alias for field number 1

fixed

Alias for field number 2

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

Return first index of value.

Raises ValueError if the value is not present.

num

Alias for field number 0