240903python 操作excel-读取head和内容_python

import pandas as pd
CSV_PATH = 'magic.csv'
 df = pd.read_csv(CSV_PATH)
 print(df.columns)
 print(df.T)