I want to get the sum of a column based on whether it matches multiple strings. For example,
pd.DataFrame({\'key\': [\'b\', \'b\', \'a\', \'c\', \'a\', \'b\'],