pyarrow.timestamp¶
- pyarrow.timestamp(unit, tz=None)¶
Create instance of timestamp type with resolution and optional time zone.
- Parameters:
- Returns:
- timestamp_type
TimestampType
- timestamp_type
Examples
>>> import pyarrow as pa >>> pa.timestamp('us') TimestampType(timestamp[us]) >>> pa.timestamp('s', tz='America/New_York') TimestampType(timestamp[s, tz=America/New_York]) >>> pa.timestamp('s', tz='+07:30') TimestampType(timestamp[s, tz=+07:30])