diff --git a/tests/test_frame.py b/tests/test_frame.py index 5cf1ceb..e043b64 100644 --- a/tests/test_frame.py +++ b/tests/test_frame.py @@ -94,15 +94,15 @@ def test_transform(self): data[i, j] = (i+1)*(j+1) transform_map = { - 0: lambda(x): x**2, # Releasing owls - 1: lambda(x): x-1, # Clipping wings - 2: lambda(x): x+10,# Reading books - 3: lambda(x): x/2, # Manicuring - 4: lambda(x): x-2, # More manicuring - 5: lambda(x): x+1, # Awarding degrees - 6: lambda(x): math.exp(x), # Catch some dinner + 0: lambda x: x**2, # Releasing owls + 1: lambda x: x-1, # Clipping wings + 2: lambda x: x+10,# Reading books + 3: lambda x: x/2, # Manicuring + 4: lambda x: x-2, # More manicuring + 5: lambda x: x+1, # Awarding degrees + 6: lambda x: math.exp(x), # Catch some dinner # 7 No flying today. - 8: lambda(x): math.sqrt(x) # Doing something with splines + 8: lambda x: math.sqrt(x) # Doing something with splines } test_transformations = {} for label_index in transform_map: