Python中Pandas學習筆記

1、pandas數據列名對齊 import pandas as pd pd.set_option('display.unicode.east_asian_width',True) #使列名對齊 df = pd.read_excel('export_excel_data.xlsx') print(df) 實際運行結果爲如下,沒有對齊 print在console line下服務,這個顯示基本上只能滿足
相關文章
相關標籤/搜索