DataFrame.mean
Returns the mean of the values for the requested axis.
danfo.DataFrame.mean(options)
Parameters | Type | Description | Default |
---|---|---|---|
options | Object | axis: 0 or 1. If 0, compute the mean column-wise, if 1, row-wise. Defaults to 1 | { axis: 1 } |
Returns:
**** return Series
Examples
Computes the mean of values along default axis 1 (column)
Computes the mean of values along row axis (0)
Last updated