Timestamp

class bach.SeriesTimestamp

(engine, base_node, index, name, expression, group_by, instance_dtype, order_by=None, **kwargs)

[source]

A Series that represents the timestamp/datetime type and its specific operations.

Timestamps are assumed to be in UTC, or without a timezone, both cases are treated the same. These timestamps have a microsecond precision at best, in contrast to numpy’s datetime64 which supports up to attoseconds precision.

Database support and types

  • Postgres: utilizes the ‘timestamp without time zone’ database type.
  • BigQuery: utilizes the ‘TIMESTAMP’ database type.

Methods

SeriesTimestamp.dtGet access to date operations.