import pandas as pd
columns = ["名前","主な販売地域","平均販売額(円)"]
kabukiage_data = ["歌舞伎揚","関東","100"]
bonchiage_data =["ぼんち揚げ","関西","120"]
kamesen_data = ["かめせん","九州","80"]
hiyashiame_data = ["ひやしあめ","京都","200"]
df = pd.DataFrame([kabukiage_data,bonchiage_data,kamesen_data,hiyashiame_data],
columns = columns)
print(df)
upper_df = df[:1]
target_df = df[3:4]
lower_df = df[1:3]
new_df = pd.concat([upper_df,target_df,lower_df],ignore_index=True)
print(new_df)
ignore_index=True
を入れないとindex番号が振り直されないので要注意です。