5d81bc9e8e19ab31f3e85f88207538e9f478d7d6,tests/test_model_selection/test_learning_curve.py,TestLearningCurve,test_pandas_integration,#TestLearningCurve#,138

Before Change


        
        Test on a real dataset with pandas DataFrame and Series
        
        df = self.load_pandas("mushroom")

        target = "target"
        features = [col for col in df.columns if col != target]

        X = pd.get_dummies(df[features])
        y = df[target]

        assert isinstance(X, pd.DataFrame)
        assert isinstance(y, pd.Series)

After Change


        Test on a real dataset with pandas DataFrame and Series
        
        data = load_mushroom(return_dataset=True)
        X, y = data.to_pandas()

        X = pd.get_dummies(X)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_model_selection/test_learning_curve.py
Class Name: TestLearningCurve
Method Name: test_pandas_integration


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_model_selection/test_cross_validation.py
Class Name: TestCrossValidation
Method Name: test_pandas_integration


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 5d81bc9e8e19ab31f3e85f88207538e9f478d7d6
Time: 2019-07-04
Author: rebeccabilbro@users.noreply.github.com
File Name: tests/test_model_selection/test_validation_curve.py
Class Name: TestValidationCurve
Method Name: test_pandas_integration