pandas.Timestamp.nanosecond#

Timestamp.nanosecond#

Return the nanosecond of the Timestamp.

Returns:
int

The nanosecond of the Timestamp.

See also

Timestamp.second

Return the second of the Timestamp.

Timestamp.microsecond

Return the microsecond of the Timestamp.

Examples

>>> ts = pd.Timestamp("2024-08-31 16:16:30.230400015")
>>> ts.nanosecond
15