sum ============= Computes the sum for each resampled group. Returns ------- DataFrame DataFrame containing the sums of the resampled groups. Raises ------ ValueError If the computation of sum fails.