R/dataframe.R
uniq_in_cols.Rd
count unique values in each column
uniq_in_cols(x)
tibble
uniq_in_cols(mini_diamond) #> # A tibble: 7 × 2 #> col uniqe_values #> <chr> <chr> #> 1 id 100 #> 2 carat 57 #> 3 cut 3 #> 4 clarity 8 #> 5 price 99 #> 6 x 89 #> 7 y 87