File1仅具有1列:name / File2具有3列:name,num1,num2
from fuzzywuzzy import fuzz
from fuzzywuzzy import process
import pandas as pd
data1 = pd.read_csv('file1.csv')
data_list1 = data_to_match['Name1']
data2 = pd.read_csv('file2.csv')
data_list2 = data_master['Name2']
recode = {}
for name in data_list1:
best_match = process.extractOne(name, data_list2)
if best_match[1] < 100:
print(name, best_match, data_list2.num1, data_list2.num2)
recode[name] = best_match[0]
如何在打印语句中打印出num1,num2?