컴퓨터/Python
pandas row delete
풍경소리^^
2019. 5. 31. 05:34
import pandas as pd
filepath='d:\data\hometax\\'
excel1=filepath+'data1.xlsx'
excel2=filepath+'data2.xlsx'
excel3=filepath+'data3.xlsx'
# dfexcel1=pd.read_excel(excel1)
df2=pd.read_excel(excel2)
# df2.drop([0,1,2,3],axis=0,inplace=True)
df3=pd.read_excel(excel3)
# df3.drop([0,1,2,3],axis=0,inplace=True)
print(df2.head())