pandas plurality incorporated methods excel

import pandas as pd

df1.to_excel(aud,index=False)

Only the first reading in order to merge

df there is a
    A = pd.read_excel (audio_kugou)
    DF2 = pd.concat ([df, A], = Axis. 1)
    df2.to_excel ( 'audio_hash', index = False)

 

 

 

 

dfs = []
for fn in ('1.xlsx', '2.xlsx', '3.xlsx', '4.xlsx'):
    dfs.append(pd.read_excel(fn))
# Multiple DataFrame into one
df = pd.concat(dfs)
# Write Excel files that do not contain the index data
df.to_excel('result.xlsx', index=False)

Guess you like

Origin blog.csdn.net/king_26852/article/details/85064760