(file_name, row_idx)
| 4 | |
| 5 | |
| 6 | def find_fuzzy_file(file_name, row_idx): |
| 7 | files = [] |
| 8 | |
| 9 | if isinstance(file_name, str): |
| 10 | file_name = file_name.replace("📄", "") |
| 11 | for file in glob(f"./data/{file_name}.*"): |
| 12 | files.append(file) |
| 13 | for file in glob(f"./data/{row_idx}.*"): |
| 14 | files.append(file) |
| 15 | return files |
| 16 | |
| 17 | |
| 18 | df = pd.read_excel("./data/meta/工具学习能力分类.xlsx") |