/dports/graphics/py-plotly/plotly-4.14.3/plotly/figure_factory/ |
H A D | _hexbin_mapbox.py | 57 def _compute_hexbin(x, y, x_range, y_range, color, nx, agg_func, min_count): argument 175 lattice1[i, j] = agg_func(vals) 182 lattice2[i, j] = agg_func(vals) 232 agg_func=None, argument 283 x, y, x_range, y_range, color, nx, agg_func, min_count 323 agg_func=None, argument 348 if agg_func is None: 349 agg_func = np.mean 361 agg_func=agg_func, 398 agg_func=agg_func, [all …]
|
/dports/devel/py-dask/dask-2021.11.2/dask/dataframe/tests/ |
H A D | test_groupby.py | 35 def agg_func(request): function 322 if agg_func == "nunique": 351 if agg_func == "mean": 941 spec = agg_func 1091 if agg_func != "nunique": 1132 if agg_func in ("cov", "corr"): 1557 if agg_func in aca_agg: 1575 if agg_func in aca_agg: 1593 if agg_func in aca_agg: 1703 agg_func = dd.Aggregation( [all …]
|
/dports/textproc/py-rdflib/rdflib-5.0.0/test/ |
H A D | test_sparql_agg_undef.py | 17 def template_tst(agg_func, first, second): argument 19 results = list(g.query(query_tpl % agg_func))
|
/dports/devel/py-pytools/pytools-2018.5/pytools/ |
H A D | log.py | 875 if agg_func is None: 880 agg_func = lambda lst: lst[0] 887 agg_func = Nth(self.rank) 890 agg_func = min 892 agg_func = max 895 agg_func = average 897 agg_func = sum 900 agg_func = lambda iterable: sqrt( function 909 agg_func = Nth(evaluate(dep.index)) 918 this_dep_data = DependencyData(name=name, qdat=qdat, agg_func=agg_func, [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/groupby/transform/ |
H A D | test_numba.py | 136 def test_multifunc_notimplimented(agg_func): argument 142 grouped.transform(agg_func, engine="numba") 145 grouped[1].transform(agg_func, engine="numba")
|
H A D | test_transform.py | 748 def test_transform_numeric_ret(cols, exp, comp_func, agg_func, request): argument 749 if agg_func == "size" and isinstance(cols, list): 760 result = df.groupby("b")[cols].transform(agg_func) 762 if agg_func == "rank":
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/groupby/aggregate/ |
H A D | test_numba.py | 143 def test_multifunc_notimplimented(agg_func): argument 149 grouped.agg(agg_func, engine="numba") 152 grouped[1].agg(agg_func, engine="numba")
|
/dports/security/tls-check/TLS-Check-cd2e654/lib/Security/TLSCheck/ |
H A D | Result.pm | 193 my $agg_func = $agg_functions{ $check->{result}[$pos]{info}{type} } 196 &$agg_func( $result{ $check->{name} }{aggregates}[$pos], $check->{result}[$pos]{value} );
|
/dports/misc/py-orange3-timeseries/orange3-timeseries-0.3.10/orangecontrib/timeseries/widgets/tests/ |
H A D | test_owspiralogram.py | 95 self.assertEqual(w.agg_func, 'Mode') 116 self.assertEqual(w.agg_func, 'Mean')
|
/dports/misc/py-orange3-timeseries/orange3-timeseries-0.3.10/orangecontrib/timeseries/widgets/ |
H A D | owspiralogram.py | 289 agg_func = settings.ContextSetting(DEFAULT_AGG_FUNC) variable in OWSpiralogram 384 self.agg_func = DEFAULT_AGG_FUNC 403 if self.agg_func not in new_aggs: 404 self.agg_func = next(iter(new_aggs)) 412 func = AGG_OPTIONS[self.agg_func].transform
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/arrays/categorical/ |
H A D | test_analytics.py | 20 agg_func = getattr(cat, aggregation) 23 agg_func() 59 agg_func = getattr(cat, aggregation) 60 result = agg_func()
|
/dports/math/py-pandas/pandas-1.2.5/pandas/core/groupby/ |
H A D | ops.py | 666 self, result, counts, values, comp_ids, agg_func, min_count: int = -1 argument 668 if agg_func is libgroupby.group_nth: 670 agg_func(result, counts, values, comp_ids, min_count, rank=1) 672 agg_func(result, counts, values, comp_ids, min_count)
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/groupby/ |
H A D | test_function.py | 56 def test_groupby_bool_aggs(agg_func, skipna, vals): argument 60 exp = getattr(builtins, agg_func)(vals) 63 if skipna and all(isna(vals)) and agg_func == "any": 67 result = getattr(df.groupby("key"), agg_func)(skipna=skipna)
|