6fc4dba23eff023ec4ad3c4cebf5c8b53dbe50d8,tests/functions/test_expand_grid.py,,,#,101

Before Change


        expand_grid(others=data)


data = {"x": pd.Series([2, 3])}


def test_series_not_multi_index_no_name():
    Test for single index series.

After Change


empty_containers = [
    {},
    {"x": pd.Series([], dtype="int")},
    {"x": pd.DataFrame([])},
    {"x": [], "y": [2, 3]},
    {"x": [2, 3], "y": set()},
    {"x": np.array([])},
]

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: ericmjl/pyjanitor
Commit Name: 6fc4dba23eff023ec4ad3c4cebf5c8b53dbe50d8
Time: 2020-09-07
Author: samueloranyeli@gmail.com
File Name: tests/functions/test_expand_grid.py
Class Name:
Method Name:


Project Name: ericmjl/pyjanitor
Commit Name: 6fc4dba23eff023ec4ad3c4cebf5c8b53dbe50d8
Time: 2020-09-07
Author: samueloranyeli@gmail.com
File Name: tests/functions/test_expand_grid.py
Class Name:
Method Name:


Project Name: EpistasisLab/tpot
Commit Name: 29ee28f40ecfd1b6dd27c80b9a1e824b11bbbc19
Time: 2020-08-26
Author: nickb500@gmail.com
File Name: tpot/config/regressor_cuml.py
Class Name:
Method Name:


Project Name: EpistasisLab/tpot
Commit Name: eb3909bf3767ceb38119bc93f055650b60cced23
Time: 2020-08-26
Author: nickb500@gmail.com
File Name: tpot/config/classifier_cuml.py
Class Name:
Method Name: