hipdf.DataFrame.std#
21 min read time
Applies to Linux
- DataFrame.std(axis=<no_default>, skipna=True, ddof=1, numeric_only=False, **kwargs)#
Return sample standard deviation of the DataFrame.
Normalized by N-1 by default. This can be changed using the ddof argument
Parameters#
- axis: {index (0), columns(1)}
Axis for the function to be applied on.
- skipna: bool, default True
Exclude NA/null values. If an entire row/column is NA, the result will be NA.
- ddof: int, default 1
Delta Degrees of Freedom. The divisor used in calculations is N - ddof, where N represents the number of elements.
- numeric_onlybool, default False
If True, includes only float, int, boolean columns. If False, will raise error in-case there are non-numeric columns.
Returns#
Series
Examples#
>>> import cudf >>> df = cudf.DataFrame({'a': [1, 2, 3, 4], 'b': [7, 8, 9, 10]}) >>> df.std() a 1.290994 b 1.290994 dtype: float64