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.
1 parent 35683fe commit 94af7c3Copy full SHA for 94af7c3
tests/indexes/test_datetime_index.py
@@ -35,6 +35,8 @@ def test_index_relops() -> None:
35
check(assert_type(data[idx >= x], pd.DatetimeIndex), pd.DatetimeIndex)
36
check(assert_type(data[idx > x], pd.DatetimeIndex), pd.DatetimeIndex)
37
38
+ # TODO: https://github.com/pandas-dev/pandas-stubs/pull/1438#discussion_r2451864012
39
+ # Can this be de-duplicated?
40
dt_idx = pd.DatetimeIndex(data, name="date")
41
check(assert_type(data[x <= dt_idx], pd.DatetimeIndex), pd.DatetimeIndex)
42
check(assert_type(data[x < dt_idx], pd.DatetimeIndex), pd.DatetimeIndex)
0 commit comments