to_excel1 pandas 판다스 기초 14 import excel # Importing From Excel Files with pd.read_excel() ## First Steps - NEW (from Pandas Version 0.24x) import pandas as pd sales = pd.read_excel('sales.xls') sales ''' Unnamed: 0CityCountrySalesBonus 0MikeNew YorkUSA252.50 1JimBostonUSA434.30 2StevenLondonUK767.60 3JoeMadridSpain121.80 4TomParisFrance8913.35 ''' # index_col을 통해서 엑셀을 열어봤을때 첫번째 컬럼을 열게된다. - index_col = 0 sales = pd.read_excel('sales.xl.. 2022. 7. 27. 이전 1 다음