ColumnDef

class lsst.dax.apdb.ColumnDef(name: str, type: str, nullable: bool, length: Optional[int] = None, default: Optional[Any] = None, description: Optional[str] = None, unit: Optional[str] = None, ucd: Optional[str] = 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: Optional[str] = None

documentation, can be None or empty

dtype

Pandas dtype for this column

length: Optional[int] = None

Optiona length for string/binary columns

ucd: Optional[str] = None

string with ucd, can be None

unit: Optional[str] = None

string with unit name, can be None