Render a DataFrame to a list of columns (as lists of strings).
(self)
| 470 | self.adj = printing.get_adjustment() |
| 471 | |
| 472 | def get_strcols(self) -> list[list[str]]: |
| 473 | """ |
| 474 | Render a DataFrame to a list of columns (as lists of strings). |
| 475 | """ |
| 476 | strcols = self._get_strcols_without_index() |
| 477 | |
| 478 | if self.index: |
| 479 | str_index = self._get_formatted_index(self.tr_frame) |
| 480 | strcols.insert(0, str_index) |
| 481 | |
| 482 | return strcols |
| 483 | |
| 484 | @property |
| 485 | def should_show_dimensions(self) -> bool: |
no test coverage detected