calour.experiment.Experiment.__deepcopy__

Experiment.__deepcopy__(memo)[source]

Implement the deepcopy since pandas has problem deepcopy empty dataframe

When using the default deepcopy on an empty dataframe (columns but no rows), we get an error. This happens when dataframe has 0 rows in pandas 0.19.2 np112py35_1. So we manually use copy instead of deepcopy for empty dataframes