Timedelta¶
Timedelta functionality is documented in pandas.Timedelta
.
pd.Timedelta
¶
-
pandas. Timedelta (value=<object object>, unit="ns", days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)Supported Arguments
value
: Integer (with constant string unit argument), String, Pandas Timedelta, datetime Timedeltaunit
: Constant String. Only has an effect when passing an integervalue
, see here for allowed values.days
: Integerseconds
: Integermicroseconds
: Integermilliseconds
: Integerminutes
: Integerhours
: Integerweeks
: Integer
Example Usage
pd.Timedelta.components
¶
pandas.Timedelta. components
Example Usage
pd.Timedelta.days
¶
pandas.Timedelta. days
Example Usage
pd.Timedelta.delta
¶
pandas.Timedelta. delta
Example Usage
pd.Timedelta.microseconds
¶
pandas.Timedelta. microseconds
Example Usage
pd.Timedelta.nanoseconds
¶
pandas.Timedelta. nanoseconds
Example Usage
pd.Timedelta.seconds
¶
pandas.Timedelta. seconds
Example Usage
pd.Timedelta.value
¶
pandas.Timedelta. value
Example Usage
pd.Timedelta.ceil
¶
-
pandas.Timedelta. ceil(freq) Supported Arguments
freq
: String
Example Usage
pd.Timedelta.floor
¶
-
pandas.Timedelta. floor
Supported Argumentsfreq
: String
Example Usage
pd.Timedelta.round
¶
-
pandas.Timedelta. round
Supported Argumentsfreq
: String
Example Usage
pd.Timedelta.to_numpy
¶
pandas.Timedelta. to_numpy ()
Example Usage
pd.Timedelta.to_pytimedelta
¶
pandas.Timedelta. to_pytimedelta ()
Example Usage
pd.Timedelta.to_timedelta64
¶
-
pandas.Timedelta. to_timedelta64 ()
Example Usage
pd.Timedelta.total_seconds
¶
pandas.Timedelta. total_seconds ()
Example Usage