Ejemplo n.º 1
0
 def mean(
     self,
     *args,
     engine: str | None = None,
     engine_kwargs: dict[str, bool] | None = None,
     **kwargs,
 ):
     nv.validate_expanding_func("mean", args, kwargs)
     return super().mean(*args, engine=engine, engine_kwargs=engine_kwargs, **kwargs)
Ejemplo n.º 2
0
 def mean(
     self,
     *args,
     engine: Optional[str] = None,
     engine_kwargs: Optional[Dict[str, bool]] = None,
     **kwargs,
 ):
     nv.validate_expanding_func("mean", args, kwargs)
     return super().mean(*args, engine=engine, engine_kwargs=engine_kwargs, **kwargs)
Ejemplo n.º 3
0
 def var(
     self,
     ddof: int = 1,
     *args,
     engine: str | None = None,
     engine_kwargs: dict[str, bool] | None = None,
     **kwargs,
 ):
     nv.validate_expanding_func("var", args, kwargs)
     return super().var(
         ddof=ddof, engine=engine, engine_kwargs=engine_kwargs, **kwargs
     )
Ejemplo n.º 4
0
 def mean(
     self,
     numeric_only: bool = False,
     *args,
     engine: str | None = None,
     engine_kwargs: dict[str, bool] | None = None,
     **kwargs,
 ):
     nv.validate_expanding_func("mean", args, kwargs)
     return super().mean(
         numeric_only=numeric_only,
         engine=engine,
         engine_kwargs=engine_kwargs,
         **kwargs,
     )
Ejemplo n.º 5
0
 def min(
     self,
     numeric_only: bool = False,
     *args,
     engine: str | None = None,
     engine_kwargs: dict[str, bool] | None = None,
     **kwargs,
 ):
     maybe_warn_args_and_kwargs(type(self), "min", args, kwargs)
     nv.validate_expanding_func("min", args, kwargs)
     return super().min(
         numeric_only=numeric_only,
         engine=engine,
         engine_kwargs=engine_kwargs,
         **kwargs,
     )
Ejemplo n.º 6
0
 def std(
     self,
     ddof: int = 1,
     numeric_only: bool = False,
     *args,
     engine: str | None = None,
     engine_kwargs: dict[str, bool] | None = None,
     **kwargs,
 ):
     nv.validate_expanding_func("std", args, kwargs)
     return super().std(
         ddof=ddof,
         numeric_only=numeric_only,
         engine=engine,
         engine_kwargs=engine_kwargs,
         **kwargs,
     )
Ejemplo n.º 7
0
 def var(
     self,
     ddof: int = 1,
     numeric_only: bool = False,
     *args,
     engine: str | None = None,
     engine_kwargs: dict[str, bool] | None = None,
     **kwargs,
 ):
     maybe_warn_args_and_kwargs(type(self), "var", args, kwargs)
     nv.validate_expanding_func("var", args, kwargs)
     return super().var(
         ddof=ddof,
         numeric_only=numeric_only,
         engine=engine,
         engine_kwargs=engine_kwargs,
         **kwargs,
     )
Ejemplo n.º 8
0
 def var(self, ddof: int = 1, *args, **kwargs):
     nv.validate_expanding_func("var", args, kwargs)
     return super().var(ddof=ddof, **kwargs)
Ejemplo n.º 9
0
 def std(self, ddof: int = 1, *args, **kwargs):
     nv.validate_expanding_func("std", args, kwargs)
     return super().std(ddof=ddof, **kwargs)
Ejemplo n.º 10
0
 def mean(self, *args, **kwargs):
     nv.validate_expanding_func("mean", args, kwargs)
     return super().mean(*args, **kwargs)
Ejemplo n.º 11
0
 def max(self, *args, **kwargs):
     nv.validate_expanding_func("max", args, kwargs)
     return super().max(*args, **kwargs)
Ejemplo n.º 12
0
 def sum(self, *args, **kwargs):
     nv.validate_expanding_func("sum", args, kwargs)
     return super().sum(*args, **kwargs)
Ejemplo n.º 13
0
 def mean(self, *args, engine=None, engine_kwargs=None, **kwargs):
     nv.validate_expanding_func("mean", args, kwargs)
     return super().mean(*args,
                         engine=engine,
                         engine_kwargs=engine_kwargs,
                         **kwargs)
Ejemplo n.º 14
0
 def sum(self, *args, engine=None, engine_kwargs=None, **kwargs):
     nv.validate_expanding_func("sum", args, kwargs)
     return super().sum(*args,
                        engine=engine,
                        engine_kwargs=engine_kwargs,
                        **kwargs)