Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_std_var_slice
Function
test_std_var_slice
dask/dataframe/dask_expr/tests/test_groupby.py:782–784 ·
view source on GitHub ↗
(pdf, df)
Source
from the content-addressed store, hash-verified
780
781
782
def
test_std_var_slice(pdf, df):
783
assert_eq(df.groupby(
"x"
).y.std(), pdf.groupby(
"x"
).y.std())
784
assert_eq(df.groupby(
"x"
).y.var(), pdf.groupby(
"x"
).y.var())
785
786
787
def
test_groupby_error(df):
Callers
nothing calls this directly
Calls
4
assert_eq
Function · 0.90
std
Method · 0.45
groupby
Method · 0.45
var
Method · 0.45
Tested by
no test coverage detected