IndexDef

class lsst.dax.ppdb.IndexDef(name, type, columns)

Bases: tuple

Attributes Summary

columns Alias for field number 2
name Alias for field number 0
type Alias for field number 1

Methods Summary

count($self, value, /) Return number of occurrences of value.
index($self, value[, start, stop]) Return first index of value.

Attributes Documentation

columns

Alias for field number 2

name

Alias for field number 0

type

Alias for field number 1

Methods Documentation

count($self, value, /)

Return number of occurrences of value.

index($self, value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.