Skip to main content

timeTable

The timeTable method creates a time table that adds new rows at a specified interval. The resulting table has one date-time column, Timestamp.

Syntax

timeTable(timeInterval)
timeTable(startTime, timeInterval)

Parameters

ParameterTypeDescription
timeIntervalString

The time interval between new row additions.

long

The time interval in nanoseconds between new row additions.

startTimeDateTime

The start time for adding new rows.

String

The start time for adding new rows.

Returns

A ticking time table that adds new rows at the specified interval.

Example

The following example creates a time table that adds one new row every second.

from deephaven.TableTools import timeTable

result = timeTable("00:00:01")

The following example creates a time table that adds one new row every second from the given start time.

from deephaven.TableTools import timeTable

result = timeTable("2021-08-06T13:21:00 NY", "00:00:01")