cudf.Series.ceil#

Series.ceil()#

Rounds each value upward to the smallest integral value not less than the original.

Returns
DataFrame or Series

Ceiling value of each element.

Examples

>>> import cudf
>>> series = cudf.Series([1.1, 2.8, 3.5, 4.5])
>>> series
0    1.1
1    2.8
2    3.5
3    4.5
dtype: float64
>>> series.ceil()
0    2.0
1    3.0
2    4.0
3    5.0
dtype: float64