IT/Python

dataframe, head(), show all columns

Jang HyunWoong 2019. 4. 18. 11:47

dataframe, head 사용시 모든 컬럼 보이도록 하려면 

아래 코드를 미리 실행시켜주면 된다.

 

To show all columns when use head() or tail()

Excute those command to show all of columns.

pd.set_option('display.max_columns', None) 
pd.set_option('display.max_rows', None) 

 

반응형