Pandas의 DataFrame을 확인할 때 다 보고싶은데 안보이는 경우가 있다.

import pandas as pd
pd.set_option('display.max_row', rows_num)
pd.set_option('display.max_columns', cols_num)

위 설정을 해주면 출력되는 데이터프레임 개수를 조절 할 수 있다.

rows_num, cols_num에 원하는 숫자를 넣는다.

 

 

+ Recent posts