Python - 删除遵循通配符模式的字符串

Python - Removing strings that follow a wildcard pattern

初始数据(字符串数据类型)

Los Gatos 50K
Las Palmas Canary Islands 25K
Roland Garros
Seoul 25K
Rome

想要的结果

Los Gatos
Las Palmas Canary Islands
Roland Garros
Seoul
Rome

我正在寻找一种方法来删除任何 2 位数字然后是 K 的字符串模式。但它需要能够处理 K 之前的任何 2 个值。我还没有看到任何使用 a 的答案替换部分的通配符。应该是这样的(我知道这是无效的)-
data.replace("**K", '')

旁注 - 此字符串将是数据框中的一列,因此如果有一个简单的解决方案可以使用那将是理想的选择。如果不是,我可以遍历每一行并以这种方式进行转换。

尝试

df = df.replace('\d{2}K', '', regex = True)


    0
0   Los Gatos
1   Las Palmas Canary Islands
2   Roland Garros
3   Seoul
4   Rome