Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 522053b

Browse files
Stijn TonkStijn Tonk
authored andcommitted
adding test case test_permutation_test_score_pandas() to check if permutation_test_score plays nice with pandas dataframe/series
1 parent 21b23ce commit 522053b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sklearn/model_selection/tests/test_validation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ def test_score_memmap():
967967
except WindowsError:
968968
sleep(1.)
969969

970+
970971
def test_permutation_test_score_pandas():
971972
# check permutation_test_score doesn't destroy pandas dataframe
972973
types = [(MockDataFrame, MockDataFrame)]

0 commit comments

Comments
 (0)