Feb-14-2020, 03:14 AM
well I'm no expert at pandas, but you can make your code more readable by adding just after line 3:
key = i[1:3].lower()then for your elif's
if key in ...Another moderator can help with the pandas part