pandas.Timestamp.nanosecond#
- Timestamp.nanosecond#
Return the nanosecond of the Timestamp.
- Returns:
- int
The nanosecond of the Timestamp.
See also
Timestamp.secondReturn the second of the Timestamp.
Timestamp.microsecondReturn the microsecond of the Timestamp.
Examples
>>> ts = pd.Timestamp("2024-08-31 16:16:30.230400015") >>> ts.nanosecond 15