Instead of creating a custom__repr__ function, I simply made sure that all ensemble members have a label upon init, and the pandas __repr__ function did the rest. Some clauses in EnsembleSeries.to_dataframe() may no longer be necessary. Incidentally, it would be more consistent to call that function to_pandas(), to align with Series or MultipleSeries
addresses #574
Instead of creating a custom
__repr__
function, I simply made sure that all ensemble members have a label upon init, and the pandas__repr__
function did the rest. Some clauses inEnsembleSeries.to_dataframe()
may no longer be necessary. Incidentally, it would be more consistent to call that functionto_pandas()
, to align withSeries
orMultipleSeries