You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Timedelta constructor requires specifying either value or keyword arguments, but the docs seem to imply that value and unit are required. The following shows two equivalent calls for a one day increment:
pd.Timedelta(1, "d") ==pd.Timedelta(days=1)
Suggested fix for documentation
The docs should indicate that you specify either value and unit OR kwargs, and at least value or kwargs must be specified.