polars.datatypes.Date#
- class polars.datatypes.Date[source]#
Data type representing a calendar date.
Notes
The underlying representation of this type is a 32-bit signed integer. The integer indicates the number of days since the Unix epoch (1970-01-01). The number can be negative to indicate dates before the epoch.
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)base_type
()Return this DataType's fundamental/root type class.
is_
(other)Check if this DataType is the same as another DataType.
is_decimal
()Check whether the data type is a decimal type.
is_float
()Check whether the data type is a floating point type.
is_integer
()Check whether the data type is an integer type.
is_nested
()Check whether the data type is a nested type.
is_not
(other)Check if this DataType is NOT the same as another DataType.
is_numeric
()Check whether the data type is a numeric type.
is_signed_integer
()Check whether the data type is a signed integer type.
is_temporal
()Check whether the data type is a temporal type.
is_unsigned_integer
()Check whether the data type is an unsigned integer type.