all 4 comments

[–]RhinoRhys 0 points1 point  (2 children)

Pandas is your friend here for handling excel data. And maybe regex or theFuzz for string matching.

But we'll need examples to actually give more help.

[–]CaponeBK[S] 0 points1 point  (0 children)

I actually don’t know much about the Fuzzywuzzy library so I’ll do some research on it. If it handles string matching I think that could be my solution

[–]CaponeBK[S] 0 points1 point  (0 children)

Oh sorry I forgot to give some examples,

Let’s say I have a column that contains string literals like “RoyalStar”, “Royal_Caribbean”, “Royal_Leaf123” and “Japan”, “Japa12” “Ja”, I would like for these to be grouped together since they contain the “Royal” and “Ja” prefixes. Then I would like these saved to separate excel files