DataFrame.count
Count non-NaN cells for each column or row. The values NaN and undefined are considered NaN
danfo.DataFrame.count(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 } |
Examples
Count Non-NaN values along default axis 1 (column)
Count Non-NaN values along row axis (0)
Last updated