mean and mean by raise ZeroDivisionError on empty collections
mean and mean by raise ZeroDivisionError on empty collections: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). Calling .mean( ) or .mean by( ) on an empty list (or dict) raises a ZeroDivisionError instead of returning NaN .
Part of FineEnvs/repo2rlenv-r2e-gym.