Skip to content

Commit 370433f

Browse files
Correct freq in test
1 parent a7a4d45 commit 370433f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_frame.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ def resampler_foo(resampler: Resampler[pd.DataFrame]) -> pd.DataFrame:
15961596
upper="2.2.99",
15971597
upper_exception=ValueError,
15981598
):
1599-
val = (
1599+
(
16001600
pd.DataFrame(
16011601
{
16021602
"price": [10, 11, 9, 13, 14, 18, 17, 19],
@@ -1607,6 +1607,7 @@ def resampler_foo(resampler: Resampler[pd.DataFrame]) -> pd.DataFrame:
16071607
.resample("M", on="week_starting")
16081608
.pipe(resampler_foo)
16091609
)
1610+
16101611
val = (
16111612
pd.DataFrame(
16121613
{
@@ -1615,7 +1616,7 @@ def resampler_foo(resampler: Resampler[pd.DataFrame]) -> pd.DataFrame:
16151616
}
16161617
)
16171618
.assign(week_starting=pd.date_range("01/01/2018", periods=8, freq="W"))
1618-
.resample("ME", on="week_starting")
1619+
.resample("MS", on="week_starting")
16191620
.pipe(resampler_foo)
16201621
)
16211622

0 commit comments

Comments
 (0)