pandas.Timedelta.view
pandas 3.1.1 · Arrays, scalars, and data types · method
Expose an alternate view or representation subject to the object's dtype and storage rules.
Call syntax
Timedelta.view(dtype)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
dtype |
Required Positional or keyword |
str or dtype Choose the data type for the input conversion or result. |