(self)
| 84 | df.at_time(hour) |
| 85 | |
| 86 | def test_at_time_tz(self): |
| 87 | # GH#24043 |
| 88 | dti = date_range("2018", periods=3, freq="h", tz="US/Pacific") |
| 89 | df = DataFrame(list(range(len(dti))), index=dti) |
| 90 | result = df.at_time(time(4, tzinfo=zoneinfo.ZoneInfo("US/Eastern"))) |
| 91 | expected = df.iloc[1:2] |
| 92 | tm.assert_frame_equal(result, expected) |
| 93 | |
| 94 | def test_at_time_raises(self, frame_or_series): |
| 95 | # GH#20725 |
nothing calls this directly
no test coverage detected