numpy/numpy — pull request #3769 by juliantaylor (2013-09-20 19:34:06+00:00)
Title: BUG: ensure percentile has same output structure as in 1.8

percentile returned scalars and lists of arrays in 1.8
adapt new percentile to return scalar and arrays with q dimension first
for compatibility.