upper_prime

upper_prime(series)
Parameters
  • series (series) – Input series

Returns

series

Returns the closest to the current value prime number, which is not less than the value.