numpy like split where you specify the axis