bigframes.geopandas.GeoSeries.round#
- GeoSeries.round(decimals=0)→Series#
Round each value in a Series to the given number of decimals.
Examples:
>>>importbigframes.pandasasbpd>>>s=bpd.Series([0.1,1.3,2.7])>>>s.round()0 0.01 1.02 3.0dtype: Float64
>>>s=bpd.Series([0.123,1.345,2.789])>>>s.round(decimals=2)0 0.121 1.342 2.79dtype: Float64
- Parameters:
decimals (int,default 0) – Number of decimal places to round to. If decimals is negative,it specifies the number of positions to the left of the decimal point.
- Returns:
Rounded values of the Series.
- Return type:
On this page