| 287 | return Prod(self, skipna, numeric_only, split_every, axis) |
| 288 | |
| 289 | def var(self, axis=0, skipna=True, ddof=1, numeric_only=False, split_every=False): |
| 290 | if axis == 0: |
| 291 | return Var(self, skipna, ddof, numeric_only, split_every) |
| 292 | elif axis == 1: |
| 293 | return VarColumns(self, skipna, ddof, numeric_only) |
| 294 | else: |
| 295 | raise ValueError(f"axis={axis} not supported. Please specify 0 or 1") |
| 296 | |
| 297 | def std(self, axis=0, skipna=True, ddof=1, numeric_only=False, split_every=False): |
| 298 | return Sqrt(self.var(axis, skipna, ddof, numeric_only, split_every=split_every)) |