Returns the number of unique values in each column.
Parameters
axis
– only axis=1
is supported. This means columns are aggregated.skipna
– only skipna=True
supported. This means NULL values are ignored.
Returns
a new DataFrame with the aggregation applied to all selected columns.