ef3b1f7a4d88b8f869afeb10184a7f437f4d764f,bokeh/charts/tests/test_data_adapter.py,TestDataAdapter,test_pandas,#TestDataAdapter#,56
Before Change
def test_pandas(self):
values = pd.DataFrame(self._values)
da = DataAdapter(values)
// TODO: THIS SHOULD BE FIXED..
//self.assertEqual(da.values(), list(self._values.values()))
self.assertEqual(da.columns, ["first", "second", "third"])
After Change
def test_pandas(self):
ds = ChartDataSource.from_data(self._pd_data)
assert len(ds.columns) == 2
assert len(ds.index) == 4
ds = ChartDataSource(self._pd_data)
assert len(ds.columns) == 2
assert len(ds.index) == 4
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: bokeh/bokeh
Commit Name: ef3b1f7a4d88b8f869afeb10184a7f437f4d764f
Time: 2015-08-12
Author: nroth@dealnews.com
File Name: bokeh/charts/tests/test_data_adapter.py
Class Name: TestDataAdapter
Method Name: test_pandas
Project Name: bokeh/bokeh
Commit Name: ef3b1f7a4d88b8f869afeb10184a7f437f4d764f
Time: 2015-08-12
Author: nroth@dealnews.com
File Name: bokeh/charts/tests/test_data_adapter.py
Class Name: TestDataAdapter
Method Name: test_list
Project Name: bokeh/bokeh
Commit Name: ef3b1f7a4d88b8f869afeb10184a7f437f4d764f
Time: 2015-08-12
Author: nroth@dealnews.com
File Name: bokeh/charts/tests/test_data_adapter.py
Class Name: TestDataAdapter
Method Name: test_array