r/pythonhelp • • Apr 03 '25
Trying to build a mapping table between "root" strings and their derivatives
So I have a list of model names where I'm wanting to Iist the base model (which has the shortest model name) and it's derived models (that have base model name + an alphanumeric suffix.
Looking to build a two column bridge/association table I can use to join pandas datasets.
I'd normally just do this in SQL, but I don't have a local db to persist the results and trying to become more comfortable in python.
1
Upvotes
View all comments
Show parent comment
1
u/[deleted] Jan 25 '26
Trump lives rent free in your head mate, your own worst enemy controls your mind. What a sorry state to be in, pitiful