pyarrow.compute.StrftimeOptions#

class pyarrow.compute.StrftimeOptions(format='%Y-%m-%dT%H:%M:%S', locale='C')#

Bases: pyarrow._compute._StrftimeOptions

Options for the strftime function.

Parameters
formatstr, default “%Y-%m-%dT%H:%M:%S”

Pattern for formatting input values.

localestr, default “C”

Locale to use for locale-specific format specifiers.

__init__(self, format='%Y-%m-%dT%H:%M:%S', locale='C')#

Methods

__init__(self[, format, locale])

deserialize(buf)

Deserialize options for a function.

serialize(self)

static deserialize(buf)#

Deserialize options for a function.

Parameters
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#