hossam 0.4.17__py3-none-any.whl → 0.4.18__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
hossam/__init__.py CHANGED
@@ -119,10 +119,29 @@ def _init():
119
119
 
120
120
  _init_korean_font()
121
121
 
122
+ pd.set_option("display.max_colwidth", None)
123
+ pd.set_option("display.width", None)
122
124
  # 컬럼 생략 금지
123
125
  pd.set_option("display.max_columns", None)
124
126
  # 행 최대 출력 수 100개로 수정
125
127
  pd.set_option("display.max_rows", 100)
126
128
 
129
+ from IPython.display import display, HTML
130
+
131
+ display(HTML("""
132
+ <style>
133
+ .dataframe td, .dataframe th {
134
+ white-space: nowrap;
135
+ font-size: 0.85em;
136
+ padding: 2px 3px;
137
+ }
138
+
139
+ .dataframe tr:hover {
140
+ background-color: #ffff99 !important;
141
+ border: 1px solid #ffcc00;
142
+ }
143
+ </style>
144
+ """))
145
+
127
146
 
128
147
  _init()