pyspark.sql.types.DateType

class pyspark.sql.types.DateType[source]

Date (datetime.date) data type.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__

Initialize self.

fromInternal(v)

Converts an internal SQL object into a native Python object.

json()

jsonValue()

needConversion()

Does this type needs conversion between Python object and internal SQL object.

simpleString()

toInternal(d)

Converts a Python object into an internal SQL object.

typeName()

Attributes

EPOCH_ORDINAL