pypath.core.interaction.InteractionDataFrameRecord§

class pypath.core.interaction.InteractionDataFrameRecord(id_a, id_b, type_a, type_b, directed, effect, type, dmodel, sources, references)§

Bases: tuple

__init__()§

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

directed

Alias for field number 4

dmodel

Alias for field number 7

effect

Alias for field number 5

id_a

Alias for field number 0

id_b

Alias for field number 1

references

Alias for field number 9

sources

Alias for field number 8

type

Alias for field number 6

type_a

Alias for field number 2

type_b

Alias for field number 3

count(value, /)§

Return number of occurrences of value.

directed§

Alias for field number 4

dmodel§

Alias for field number 7

effect§

Alias for field number 5

id_a§

Alias for field number 0

id_b§

Alias for field number 1

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

Return first index of value.

Raises ValueError if the value is not present.

references§

Alias for field number 9

sources§

Alias for field number 8

type§

Alias for field number 6

type_a§

Alias for field number 2

type_b§

Alias for field number 3