def test_dataframe_data():
    spec, data = build_simple_spec()
    data = data = pd.DataFrame(data)
    spec = api.Viz(data)
    assert np.all(spec.data == data)
dataset/ETHPy150Open ellisonbg/altair/altair/tests/test_api.py/test_dataframe_data/original