to_pd_timestamp

to_pd_timestamp converts a Java date-time to a pandas.Timestamp.

Warning

Avoid deephaven.time functions in query strings. Because deephaven.time provides functions that convert between Python and Java types, every call crosses the Python-Java boundary, which slows performance. For more information, see:

Syntax

Parameters

ParameterTypeDescription
dtUnion[None, Instant, ZonedDateTime]

A Java date-time to convert to a pandas.Timestamp. If None is provided, None is returned.

Returns

Returns a pandas.Timestamp.

Examples