Python series: read Excel to get the desired data, add new fields, adjust the field order, and add new rows

Target blog expert 2022-05-14 14:12:03 阅读数:318


 Insert picture description here

One 、 Read excel The data generated Dataframe

Read excel, The field name of the table is on page 4 That's ok

import pandas as pd
# Read excel, The column field is on page 4 That's ok 
df = pd.read_excel(r"/User
版权声明:本文为[Target blog expert]所创,转载请带上原文链接,感谢。