Pandas에서 보는 옵션 설정하는 방법

2019. 5. 1. 17:33분석 Python/Pandas Tip

728x90

도움이 되셨다면, 광고 한번만 눌러주세요.  블로그 관리에 큰 힘이 됩니다 ^^

 

from IPython.core.display import display, HTML

## 전체 구간을 넓게

display(HTML("<style>.container { width:100% !important; }</style>"))

## 각 컬럼 width 최대로

pd.set_option('display.max_colwidth', -1)

## rows 500

pd.set_option('display.max_rows', 500)

## columns

pd.set_option('display.max_columns', 500)

pd.set_option('display.width', 1000)
728x90