modin.pandas.Series.abs¶
- Series.abs()[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.21.0/src/snowflake/snowpark/modin/pandas/series.py#L354-L380)¶
Return a Series with absolute numeric value of each element.
- Return type:
Examples
>>> ser = pd.Series([1, -2.29, 3, -4.77]) >>> ser 0 1.00 1 -2.29 2 3.00 3 -4.77 dtype: float64
>>> abs(ser) 0 1.00 1 2.29 2 3.00 3 4.77 dtype: float64