Beispiel #1
0
def test_to_df_raises(shape):
    a = NumpyDataFrame({"A": np.ones(shape), "B": np.zeros(shape)})
    with pytest.raises(NumpyDataFrameException):
        a.to_df()
Beispiel #2
0
def test_to_df(shape):
    a = NumpyDataFrame({"A": np.ones(shape), "B": np.zeros(shape)})
    assert a.shape == shape
    print(a.to_df())