Adds an _constructor private method to SarracenDataFrame. This ensures that when a SarracenDataFrame is sliced or manipulated in a way that doesn't return a Series, a SarracenDataFrame is returned instead.
With this fix, particle data can now be manipulated by the user before plotting, without losing any vital information.
Adds an
_constructor
private method to SarracenDataFrame. This ensures that when a SarracenDataFrame is sliced or manipulated in a way that doesn't return a Series, a SarracenDataFrame is returned instead.With this fix, particle data can now be manipulated by the user before plotting, without losing any vital information.