ColumnDef

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

default value for column, can be None

description = None

documentation, can be None or empty

dtype

Pandas dtype for this column

length = None

Optiona length for string/binary columns

ucd = None

string with ucd, can be None

unit = None

string with unit name, can be None