datatable.Frame.nunique()

Count the number of unique values for each column in the frame.

Parameters

return
Frame

The frame will have one row and the same number/names of columns as in the current frame. All the columns will have int64 stype.

See Also

  • .nunique1() – similar to this method, but operates on a single-column frame only, and returns a scalar value instead of a Frame.