polars.internals.expr.ExprDateTimeNameSpace.nanosecond

ExprDateTimeNameSpace.nanosecond() polars.internals.expr.Expr

Extract seconds from underlying DateTime representation. Can be performed on Datetime.

Returns the number of nanoseconds since the whole non-leap second. The range from 1,000,000,000 to 1,999,999,999 represents the leap second.

Returns
Nanosecond as UInt32