pyspark dataframe column unique count

PHOTO EMBED

Wed May 26 2021 08:31:02 GMT+0000 (Coordinated Universal Time)

Saved by @ncellepola #pyspark #unique #count #dataframe #column

trx_1.select(f.countDistinct("stg_nexus_member_cd")).show()
content_copyCOPY