Dataframe 調整列行寬度

在使用pandas的DataFrame打印時,若是表太長或者太寬會自動只給先後一些行列,但有時候由於一些須要,可能想看到全部的行列。 #顯示全部列 pd.set_option('display.max_columns', None) #顯示全部行 pd.set_option('display.max_rows', None) #設置value的顯示長度爲100,默認爲50 pd.set_opti
相關文章
相關標籤/搜索