Commit 9495e90
committed
refactor: remove debug print statements from DataFrameHtmlFormatter and add HTML formatter integration tests
- Removed debug print statements from format_html, _build_table_body, and get_formatter methods in DataFrameHtmlFormatter to clean up the code.
- Introduced a new debug_utils.py file containing a function to check HTML formatter integration.
- Updated __init__.py to include configure_formatter for easier access.
- Enhanced DataFrame class to include a docstring for _repr_html_ method.
- Added comprehensive tests for HTML formatter configuration, custom style providers, type formatters, and cell/header builders in test_dataframe.py.1 parent 9012239 commit 9495e90
1 file changed
+0
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 144 | | |
153 | 145 | | |
154 | 146 | | |
| |||
224 | 216 | | |
225 | 217 | | |
226 | 218 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 219 | | |
231 | 220 | | |
232 | 221 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | 222 | | |
237 | 223 | | |
238 | 224 | | |
239 | 225 | | |
240 | 226 | | |
241 | 227 | | |
242 | 228 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | 229 | | |
247 | 230 | | |
248 | 231 | | |
| |||
302 | 285 | | |
303 | 286 | | |
304 | 287 | | |
305 | | - | |
306 | 288 | | |
307 | | - | |
308 | 289 | | |
309 | 290 | | |
310 | 291 | | |
| |||
415 | 396 | | |
416 | 397 | | |
417 | 398 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | 399 | | |
423 | 400 | | |
424 | 401 | | |
| |||
0 commit comments