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