BUG: Series.apply fails on empty Series #2815