ttricco / sarracen

A Python library for smoothed particle hydrodynamics (SPH) analysis and visualization.
https://sarracen.readthedocs.io
GNU General Public License v3.0
15 stars 18 forks source link

avoid inheritance of special columns when copying dataframes #72

Closed ttricco closed 8 months ago

ttricco commented 8 months ago

overriding drop() and getitem() is unnecessary. Only needed to define _internal_names inside SarracenDataFrame and pandas handles everything automatically. This will re-detect special columns in the dataframe copy.

Closes #71.