Grouping Data Using Unique Combinations
n my below data set, I need to find unique sequences and assign them a serial no .. DataSet : user age maritalstatus product A Young married 111 B young married 222 C
Solution 1:
you can use sets - module that provides classes for constructing and manipulating unordered collections of unique elements
have a look: https://docs.python.org/2/library/sets.html
Post a Comment for "Grouping Data Using Unique Combinations"