엑셀 파일 읽기 및 쓰기: 지역별 학교 데이터 필터링 및 처리
import xlrd
import xlwt
# 엑셀 파일 읽기 함수
def load_excel_data(file_path):
# 파일 열기 객체 생성
workbook = xlrd.open_workbook(file_path)
worksheet = workbook.sheet_by_index(0)
# 데이터 저장소 초기화
educational_institutions = []
# 모든 행 순회
for row_idx in range(worksheet.nrows):
institutio ...
6월 26일 17:41에 게시됨