copy#
- caput.memdata.MemDataset.copy(order='A', shallow=False)[source]#
Create a new
MemDatasetfrom an existing one.This creates a deep copy by default.
- Parameters:
- order{“C”, “F”, “A”, “K”}, optional
Memory layout of copied data. See https://numpy.org/doc/stable/reference/generated/numpy.copy.html. Default is “A”.
- shallowbool, optional
True if this should be a shallow copy. Default is
False.
- Returns:
- dataset
MemDataset Deep copy of this dataset.
- dataset