Function count_distinct and countDistinct only accepts one column as input.
PySpark
df.agg(F.count_distinct(df.Feb, df.Jan))
teradatamlspk
df.agg(F.count_distinct(df.Feb))
Function count_distinct and countDistinct only accepts one column as input.
df.agg(F.count_distinct(df.Feb, df.Jan))
df.agg(F.count_distinct(df.Feb))