A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/pandas-docs/stable/reference/api/../api/pandas.Timedelta.nanoseconds.html below:

pandas.Timedelta.nanoseconds — pandas 2.3.1 documentation

pandas.Timedelta.nanoseconds#
Timedelta.nanoseconds#

Return the number of nanoseconds (n), where 0 <= n < 1 microsecond.

Returns:
int

Number of nanoseconds.

See also

Timedelta.components

Return all attributes with assigned values (i.e. days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds).

Examples

Using string input

>>> td = pd.Timedelta('1 days 2 min 3 us 42 ns')
>>> td.nanoseconds
42

Using integer input

>>> td = pd.Timedelta(42, unit='ns')
>>> td.nanoseconds
42

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4