Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ var
Method
var
pandas/tests/frame/test_reductions.py:315–316 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
313
return
len(algorithms.unique1d(s.dropna()))
314
315
def
var(x):
316
return
np.var(x, ddof=1)
317
318
def
std(x):
319
return
np.std(x, ddof=1)
Callers
15
test_groupby_rolling_var
Method · 0.45
test_weighted_var_big_window_no_segfault
Function · 0.45
test_rolling_var_floating_artifact_precision
Function · 0.45
test_rolling_var_same_value_count_logic
Function · 0.45
test_ragged_var
Method · 0.45
test_moments_consistency_var
Function · 0.45
test_moments_consistency_var_constant
Function · 0.45
test_rolling_consistency_var_std_cov
Function · 0.45
test_rolling_consistency_series_cov_corr
Function · 0.45
test_rolling_consistency_var_debiasing_factors
Function · 0.45
test_moments_consistency_var
Function · 0.45
test_moments_consistency_var_constant
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected