Skip to content

Commit

Permalink
Review: Test respects the built-in function name
Browse files Browse the repository at this point in the history
  • Loading branch information
JQGoh committed Mar 28, 2023
1 parent fcfe4c7 commit aada4ac
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -544,18 +544,12 @@ def test_transformers_pipeline(self):
expected_transformed_series = TimeSeries.from_times_and_values(
times1,
[100, 15, 30, 45, 60, 75, 90, 105, 120, 135],
columns=["rolling_TotalOperation_3_2_0"],
columns=["rolling_sum_3_2_0"],
)

# adds NaNs
window_transformations = [
{
"function": "sum",
"function_name": "TotalOperation",
"mode": "rolling",
"window": 3,
"min_periods": 2,
}
{"function": "sum", "mode": "rolling", "window": 3, "min_periods": 2}
]

def times_five(x):
Expand Down

0 comments on commit aada4ac

Please sign in to comment.