The partition method was added to numpy in 1.8.0. We still need to support down to 1.6.