Skip to content

Commit 4ba2f72

Browse files
committed
Test dt.day, etc. selection
1 parent 93fb369 commit 4ba2f72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas_selectable/tests/test_select.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def test_dt(dta):
5656
assert dta.select.B.dt.is_quarter_start.equals(dta.loc[[0]])
5757
assert len(dta.select.B.dt.is_year_end) == 0
5858
assert dta.select.B.dt.is_year_start.equals(dta.loc[[0]])
59+
assert len(dta.select.B.dt.day == 15) == 1
60+
assert len(dta.select.B.dt.month == 2) == 0
5961

6062

6163
def test_index(dta):

0 commit comments

Comments
 (0)