(
self,
axis=0,
skipna=True,
ddof=1,
numeric_only=False,
split_every=False,
**kwargs,
)
| 1515 | |
| 1516 | @derived_from(pd.DataFrame) |
| 1517 | def var( |
| 1518 | self, |
| 1519 | axis=0, |
| 1520 | skipna=True, |
| 1521 | ddof=1, |
| 1522 | numeric_only=False, |
| 1523 | split_every=False, |
| 1524 | **kwargs, |
| 1525 | ): |
| 1526 | _raise_if_object_series(self, "var") |
| 1527 | axis = self._validate_axis(axis) |
| 1528 | self._meta.var(axis=axis, skipna=skipna, numeric_only=numeric_only) |
| 1529 | frame = self |
| 1530 | if is_dataframe_like(self._meta) and numeric_only: |
| 1531 | frame = frame[list(self._meta.var(numeric_only=True).index)] |
| 1532 | return new_collection( |
| 1533 | frame.expr.var(axis, skipna, ddof, numeric_only, split_every=split_every) |
| 1534 | ) |
| 1535 | |
| 1536 | @derived_from(pd.DataFrame) |
| 1537 | def std( |
nothing calls this directly
no test coverage detected