Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/view/another_window/student/import_student_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ def __load_file(self, file_path: str):
raise ValueError(
get_content_name_async("import_student_name", "unsupported_format")
)

# 将列名转换为字符串,避免整数列名与UI层字符串不匹配
data.columns = [str(col) for col in data.columns]

# 获取列名
columns = list(data.columns)
Expand Down
Loading