count_distinct

StringColumnView.count_distinct(alias='new_column')

COUNT DISTINCT aggregation.

Args:

alias (str): Name for the new column.