`Dataset`: ArrayInterface Overload
#1831 · C++ · ★ 161 · LGPL-3.0 · updated 1mo ago
We could simplify non-MPI Python code if we add another constructor to Dataset: import openpmd_api as io data = np.arange(size*size, dtype=np.double).reshape(3, 3) # now dataset = io.Dataset(data.dtype, data.shape) # future dataset = io.Dataset(data)
replies in ~5d11/17 outside PRs merged
Cleared 3m ago