import pandas as pd
s1=pd.read_excel(″a1.xlsx″)
s2=pd.read_excel(″a2.xlsx″)
s1=s1.append(s2,ignore_index=True)
s1.sort_values('姓名',ascending=False,inplace=True)
s1.to_excel('a3.xlsx')
运行该程序段,下列说法错误的是( )
A.a3.xlsx文件中有a1.xlsx和a2.xlsx信息 | B.a3.xlsx文件中,姓名列有序排列的 |
C.a3.xlsx和a1.xlsx文件的列数是相等的 | D.s1的索引列的值不会重复 |

同类型试题

y = sin x, x∈R, y∈[–1,1],周期为2π,函数图像以 x = (π/2) + kπ 为对称轴
y = arcsin x, x∈[–1,1], y∈[–π/2,π/2]
sin x = 0 ←→ arcsin x = 0
sin x = 1/2 ←→ arcsin x = π/6
sin x = √2/2 ←→ arcsin x = π/4
sin x = 1 ←→ arcsin x = π/2


y = sin x, x∈R, y∈[–1,1],周期为2π,函数图像以 x = (π/2) + kπ 为对称轴
y = arcsin x, x∈[–1,1], y∈[–π/2,π/2]
sin x = 0 ←→ arcsin x = 0
sin x = 1/2 ←→ arcsin x = π/6
sin x = √2/2 ←→ arcsin x = π/4
sin x = 1 ←→ arcsin x = π/2

