ColumnDef

class lsst.dax.apdb.ColumnDef(name: str, type: str, nullable: bool, 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
ucd string with ucd, can be None
unit string with unit name, can be None

Attributes Documentation

default = None

default value for column, can be None

description = None

documentation, can be None or empty

dtype

Pandas dtype for this column

ucd = None

string with ucd, can be None

unit = None

string with unit name, can be None