File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -407,6 +407,7 @@ Methods
407
407
:toctree: api/
408
408
409
409
DatetimeIndex.mean
410
+ DatetimeIndex.std
410
411
411
412
TimedeltaIndex
412
413
--------------
Original file line number Diff line number Diff line change @@ -1923,6 +1923,26 @@ def std(
1923
1923
keepdims : bool = False ,
1924
1924
skipna : bool = True ,
1925
1925
):
1926
+ """
1927
+ Return sample standard deviation over requested axis.
1928
+
1929
+ Normalized by N-1 by default. This can be changed using the ddof argument
1930
+
1931
+ Parameters
1932
+ ----------
1933
+ axis : int optional, default None
1934
+ Axis for the function to be applied on.
1935
+ ddof : int, default 1
1936
+ Degrees of Freedom. The divisor used in calculations is N - ddof,
1937
+ where N represents the number of elements.
1938
+ skipna : bool, default True
1939
+ Exclude NA/null values. If an entire row/column is NA, the result will be
1940
+ NA.
1941
+
1942
+ Returns
1943
+ -------
1944
+ Timedelta
1945
+ """
1926
1946
# Because std is translation-invariant, we can get self.std
1927
1947
# by calculating (self - Timestamp(0)).std, and we can do it
1928
1948
# without creating a copy by using a view on self._ndarray
You can’t perform that action at this time.
0 commit comments