Skip to content

Commit

Permalink
update test_base.py : remove duplicate function
Browse files Browse the repository at this point in the history
[BUG] Remove duplicate function in classification/tests/test_base.py aeon-toolkit#119
  • Loading branch information
scorcism authored Feb 27, 2023
1 parent 20f944f commit 9c44994
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sktime/classification/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,16 +308,6 @@ def _create_example_dataframe(cases=5, dimensions=1, length=10):
return test_X


def _create_nested_dataframe(cases=5, dimensions=1, length=10):
testy = pd.DataFrame(dtype=np.float32)
for i in range(0, dimensions):
instance_list = []
for _ in range(0, cases):
instance_list.append(pd.Series(np.random.randn(length)))
testy["dimension_" + str(i + 1)] = instance_list
return testy


def _create_unequal_length_nested_dataframe(cases=5, dimensions=1, length=10):
testy = pd.DataFrame(dtype=np.float32)
for i in range(0, dimensions):
Expand Down

0 comments on commit 9c44994

Please sign in to comment.