Skip to content

Commit 9de579e

Browse files
authored
CI/DEPS: Use np.prod in tests for np deprecation (#51877)
1 parent eb7f903 commit 9de579e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/resample/test_datetime_index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ def test_resample_apply_product(duplicates, unit):
18421842
if duplicates:
18431843
df.columns = ["A", "A"]
18441844

1845-
result = df.resample("Q").apply(np.product)
1845+
result = df.resample("Q").apply(np.prod)
18461846
expected = DataFrame(
18471847
np.array([[0, 24], [60, 210], [336, 720], [990, 1716]], dtype=np.int64),
18481848
index=DatetimeIndex(

0 commit comments

Comments
 (0)