Replace apply() with Vectorized Ops

Hard

Loading SQL engine...