pyarrow.time32

pyarrow.time32(unit)

Create instance of 32-bit time (time of day) type with unit resolution.

Parameters:
unitstr

one of ‘s’ [second], or ‘ms’ [millisecond]

Returns:
typepyarrow.Time32Type

Examples

>>> import pyarrow as pa
>>> pa.time32('s')
Time32Type(time32[s])
>>> pa.time32('ms')
Time32Type(time32[ms])