ทอม แฮมมอนด์มีกี่แต้มถ้าเขามีมากกว่า 12 แต้ม?
How many points does Tom Hammond have if he has more than 12 points?
df = pd.DataFrame(columns=['points', 'player', 'extra_points'])
df[(df['player'] == 'tom hammond') & (df['extra_points'] > '12')]['points'].sum()