I have a Pandas dataframe (truncated) that looks like the following:
Name Identifiers
419 Foo {'VendorName': 'A', 'ProductName': 'Z'}
420 Foo {'VendorName': 'A', 'ProductName': 'Z'}
421 Foo {'VendorName': 'A', 'ProductName': 'Y'}
422 Foo {'VendorName': 'B', 'ProductName': 'X'}
423 Bar {'VendorName': 'A', 'ProductName': 'Z'}
Using Pandas, I want to count the number of unique Name
and Identifiers
combinations. I'm having issues since Identifiers
is a dictionary. All dictionaries will have the same keys, but the values will obviously differ. Given the above example, there are 4 unique combinations.