concat_maybe() might need to use the same logic as combine() to promote data when possible. This is especially relevant for panels (which combine() could handle better anyway).
This one's a bit odd, because it might not be a valid use case anyway (not sure what it is suppose dto actually mean). But, the input Series to the group() all have the same indicies, so perhaps they should become a DataFrame instead. (But what are the columns? concat_maybe would need the Entry as well.)
concat_maybe()
might need to use the same logic ascombine()
to promote data when possible. This is especially relevant for panels (whichcombine()
could handle better anyway).Consider a couple examples:
Here, loudevents returns panels, which don't seem to concatenate well. But it works as
because by immediately slicing into the
"above"
item, it drops down to DataFrames, which concatenate nicely.Also,
This one's a bit odd, because it might not be a valid use case anyway (not sure what it is suppose dto actually mean). But, the input Series to the
group()
all have the same indicies, so perhaps they should become a DataFrame instead. (But what are the columns?concat_maybe
would need the Entry as well.)