cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Adig
by New Contributor III
  • 4165 Views
  • 5 replies
  • 15 kudos

Generate Group Id for similar deduplicate values of a dataframe column.

Inupt DataFrame'''KeyName KeyCompare SourcePapasMrtemis PapasMrtemis S1PapasMrtemis Pappas, Mrtemis S1Pappas, Mrtemis PapasMrtemis S2Pappas, Mrtemis Pappas, Mrtemis S2Mich...

  • 4165 Views
  • 5 replies
  • 15 kudos
Latest Reply
VaibB
Contributor
  • 15 kudos

Create a UDF where you pass all the fields as Input that you need to take into consideration for a unique row. Create a list by splitting based on ' ' or ','. sort the list and concat all the elements of the list to derive "new field". Calculate dens...

  • 15 kudos
4 More Replies
Labels