r"""Returns the number of scalars that were accumulated for the given statistic between the last two calls to `update()`, or zero if no scalars were collected.
(self, name)
| 180 | return self._moments[name] |
| 181 | |
| 182 | def num(self, name): |
| 183 | r"""Returns the number of scalars that were accumulated for the given |
| 184 | statistic between the last two calls to `update()`, or zero if |
| 185 | no scalars were collected. |
| 186 | """ |
| 187 | delta = self._get_delta(name) |
| 188 | return int(delta[0]) |
| 189 | |
| 190 | def mean(self, name): |
| 191 | r"""Returns the mean of the scalars that were accumulated for the |