[Python] 엑셀 파일 불러오기 - ExcelFile, data.iterrows
1. 특정 시트--123456789import pandas as pd def readExel(xlse_path, sheetName): xls_file = pd.ExcelFile(xlse_path) data = xls_file.parse(sheetName) return data data = readExel('/Users/aaron/Desktop/test/testExcel.xlsx', 'Sheet') Colored by Color Scriptercs 2. 전체 시트--12345678import pandas as pd xls = pd.ExcelFile('/Users/aaron/Desktop/testExcel.xlsx')sheets = xls.sheet_names sh1 = xls.parse(sheet_name..
Python/Collection
2019. 4. 27. 13:01