我想将两个shell头合并为一个头。为此可以做什么
DAILY AIRCRAFT MOVEMENT RECORD
Serial Type Air craft Arrival ATA
no callsign Departure ATD
cfg A320 ALK208 A 0009
2 A320 ALK226 A 0016
3 A332 ALK218 A 0022
4 A343 ALK1282 A 0025
我想将飞机外壳和呼号外壳合并为一个外壳
from pandas import DataFrame
import pandas as pd
def ShowResult(column):
if(column=='callsign'):
data = pd.read_excel (r'D:\Pandas\1 (179).xlsx',skiprows=3)
df = pd.DataFrame(data, columns= ['callsign'])
print (df)
field = input("Enter Field Name : ")
ShowResult(field)