pypath.inputs.adrecs.AdrecsDrugAdr§

class pypath.inputs.adrecs.AdrecsDrugAdr(drug_badd, drug, adr_badd, adr)[source]§

Bases: NamedTuple

__init__()§

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

adr

Alias for field number 3

adr_badd

Alias for field number 2

drug

Alias for field number 1

drug_badd

Alias for field number 0

adr: str§

Alias for field number 3

adr_badd: str§

Alias for field number 2

count(value, /)§

Return number of occurrences of value.

drug: str§

Alias for field number 1

drug_badd: str§

Alias for field number 0

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

Return first index of value.

Raises ValueError if the value is not present.