eb9f8cce1d00417520f3282807ae99c40801346d,tests/test_features/test_pcoords.py,TestParallelCoordinates,test_pandas_integration_sampled,#TestParallelCoordinates#,162
Before Change
]
X = df[features]
y = pd.Series([
"occupied" if yi == 1 else "unoccupied" for yi in df[target]
])
assert isinstance(X, pd.DataFrame)
assert isinstance(y, pd.Series)
After Change
data = load_occupancy(return_dataset=True)
X, y = data.to_pandas()
classes = [k for k, _ in sorted(data.meta["labels"].items(), key=lambda i: i[1])]
assert isinstance(X, pd.DataFrame)
assert isinstance(y, pd.Series)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: DistrictDataLabs/yellowbrick
Commit Name: eb9f8cce1d00417520f3282807ae99c40801346d
Time: 2019-05-14
Author: 8103276+zjpoh@users.noreply.github.com
File Name: tests/test_features/test_pcoords.py
Class Name: TestParallelCoordinates
Method Name: test_pandas_integration_sampled
Project Name: DistrictDataLabs/yellowbrick
Commit Name: eb9f8cce1d00417520f3282807ae99c40801346d
Time: 2019-05-14
Author: 8103276+zjpoh@users.noreply.github.com
File Name: tests/test_features/test_pcoords.py
Class Name: TestParallelCoordinates
Method Name: test_pandas_integration_fast
Project Name: etal/cnvkit
Commit Name: fff30b5d161bc5ad17af26af65704a03e1b4611d
Time: 2019-04-09
Author: etalevich@dnanexus.com
File Name: cnvlib/smoothing.py
Class Name:
Method Name: convolve_weighted