def pprint(self):
        # Get the column paddings
        col_paddings = []
        for column in range(len(self._headers)):
            col_paddings.append(self._max_width(column))

        self._pprint_header(col_paddings)
        for row in self._rows:
            if row:     # None rows are considered separators
                self._pprint_row(row, col_paddings)
            else:
                self._pprint_separator(col_paddings)
Pretty printstable
dataset/ETHPy150Open nacx/kahuna/kahuna/utils/prettyprint.py/PTable.pprint