Skip to content

Commit

Permalink
Add gh numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Dec 8, 2023
1 parent 4fc6ce5 commit 17ab06a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pandas/tests/resample/test_datetime_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -2214,6 +2214,7 @@ def test_resample_b_55282(unit):
],
)
def test_arrow_timestamp_resample(tz):
# GH 56371
idx = Series(date_range("2020-01-01", periods=5), dtype="timestamp[ns][pyarrow]")
if tz is not None:
idx = idx.dt.tz_localize(tz)
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/resample/test_timedelta.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def test_resample_closed_right():

@td.skip_if_no("pyarrow")
def test_arrow_duration_resample():
# GH 56371
idx = pd.Index(timedelta_range("1 day", periods=5), dtype="duration[ns][pyarrow]")
expected = Series(np.arange(5, dtype=np.float64), index=idx)
result = expected.resample("1D").mean()
Expand Down

0 comments on commit 17ab06a

Please sign in to comment.