[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.AssumeTimezoneOptions.html [Back]  [Original]

pyarrow.compute.AssumeTimezoneOptions — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.compute.AssumeTimezoneOptions#

class pyarrow.compute.AssumeTimezoneOptions(timezone, *, ambiguous='raise', nonexistent='raise')#

Bases: _AssumeTimezoneOptions

Options for the assume_timezone function.

Parameters:
timezonestr

Timezone to assume for the input.

ambiguousstr, default raise

How to handle timestamps that are ambiguous in the assumed timezone. Accepted values are raise, earliest, latest.

nonexistentstr, default raise

How to handle timestamps that dont exist in the assumed timezone. Accepted values are raise, earliest, latest.

__init__(self, timezone, *, ambiguous='raise', nonexistent='raise')#

Methods

__init__(self,timezone,*[,ambiguous,...])

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)#

Web Proxy Viewer  |  New URL  |  Original Page