DataFrame.nUnique
Returns the number of unique elements in a column, across the specified axis.
Last updated
Returns the number of unique elements in a column, across the specified axis.
Last updated
danfo.DataFrame.nUnique(axis) [source]
Parameters | Type | Description | Default |
---|---|---|---|
Note: To get the unique elements along an axis, see DataFrame.unique.
axis
Int
0 for row axis, and 1 for column axis
1