Use np.percentile if array does not contain NaNs (#1311)
Use np.percentile if array does not contain NaNs (#1311)

Co-authored-by: jackd-stripe <585cf722536249f286adc82a2fe08f6df9eaa491@users.noreply.github.com>

facebookincubator/prophet,facebook/prophet,facebookincubator/prophet,facebook/prophet,facebook/prophet