DataObject.copy
- DataObject.copy(reset: bool = False, **kwargs) DataObject [source]
Returns a copy of the data object. If reset is True, the state of transformations are reset. Additional keyword arguments can be passed to overwrite attributes of the copy, or to pass additional attributes not in the signature of the DataObject constructor, but in the signature of the constructor of the specific DataObject subclass.
- Parameters:
reset (bool) – If True, the state of transformations, i.e, fitted values are reset.
kwargs – Can be used to overwrite attributes passed to the constructor, and hence allows partial copying of the object.
- Returns:
DataObject – Copy of the data object.