Why is my loop, that has to count substrings, not working correctly?
Why is my loop, that has to count substrings, not working correctly? Question: I have two dataframes (20000+ rows) with combinations. I want to loop through df2 with df1 and count the occurence of combinations. For example the code should be able to recognize that the combination "B,D" from df1 occurces 3 times with these …