`Dataset`: ArrayInterface Overload
#1831 · C++ · ★ 160 · LGPL-3.0 · updated 3mo 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 ~1h8/13 outside PRs merged
Cleared 1m ago