def test_write_npz(self): orig = test.data_frame("vehicles.csv") handle, path = tempfile.mkstemp(".npz") orig.write_npz(path) data = DataFrame.read_npz(path) assert data == orig
def read_npz(path, *, allow_pickle=True): return DataFrame.read_npz(path, allow_pickle=allow_pickle)
def test_read_npz_path(self): orig = test.data_frame("vehicles.csv") handle, path = tempfile.mkstemp(".npz") orig.write_npz(path) DataFrame.read_npz(Path(path))