ColumnDef

class lsst.dax.apdb.ColumnDef(name: str, type: str, nullable: bool, length: int | None = None, default: Any | None = None, description: str | None = None, unit: str | None = None, ucd: str | None = None)

Bases: object

Column representation in schema.

Attributes Summary

default

default value for column, can be None

description

documentation, can be None or empty

dtype

Pandas dtype for this column

length

Optiona length for string/binary columns

ucd

string with ucd, can be None

unit

string with unit name, can be None

Attributes Documentation

default: Any = None

default value for column, can be None

description: str | None = None

documentation, can be None or empty

dtype

Pandas dtype for this column

length: int | None = None

Optiona length for string/binary columns

ucd: str | None = None

string with ucd, can be None

unit: str | None = None

string with unit name, can be None