#英式扑克牌
suits = ['H', 'S', 'C', 'D']#红桃,黑桃,梅花,方块
card_val = (list(range(1,11)) + [10] * 3) * 4
base_names = list(range(2, 11)) + ['J', 'K', 'Q', 'A']
cards = []
for suit in ['H', 'S', 'C', 'D']:
cards.extend(str(num) + suit for num in base_names)
deck = pd.Series(card_val, index=cards)
报错:ValueError: Length of values (52) does not match length of index (13)