We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8604fa + 177b952 commit 3777b47Copy full SHA for 3777b47
pandas/core/indexes/timedeltas.py
@@ -237,6 +237,7 @@ def inferred_type(self) -> str:
237
return "timedelta64"
238
239
240
+@set_module("pandas")
241
def timedelta_range(
242
start=None,
243
end=None,
pandas/tests/api/test_api.py
@@ -420,6 +420,7 @@ def test_set_module():
420
assert pd.Series.__module__ == "pandas"
421
assert pd.date_range.__module__ == "pandas"
422
assert pd.bdate_range.__module__ == "pandas"
423
+ assert pd.timedelta_range.__module__ == "pandas"
424
assert pd.NamedAgg.__module__ == "pandas"
425
assert api.typing.SeriesGroupBy.__module__ == "pandas.api.typing"
426
assert api.typing.DataFrameGroupBy.__module__ == "pandas.api.typing"
0 commit comments