...FutureWarning issued and empty DataFrame returned where no...
I think the DataError was correct in 1.2.x for mean, but then we have to figure out what to do in the case of apply(np.mean), because returning an empty DF in that case could be considered a bug (i.e., we should have raised) ...