def _parse_horizontal_scroll_table(self, table_html):
        """ Get list of dicts from horizontally scrollable table
        """
        row_labels = [parse_text(x.text) for x  in table_html.select(".DTFC_LeftBodyWrapper tbody tr")]
        row_label_ids = [None] * len(row_labels)
        cols = [parse_text(x.text) for x in table_html.select(".dataTables_scrollHead th")]
        value_rows = table_html.select(".dataTables_scrollBody tbody tr")

        values = []
        for row_i, value_row in enumerate(value_rows):
            row_values = [parse_value(x.text) for x in value_row.select("td")]
            values.append(row_values)

        sheet = Sheet(zip(row_label_ids, row_labels), cols, values)

        return sheet.long_format
def _parse_horizontal_scroll_table ( self , table_html ) : row_labels = [ parse_text ( x . text ) for x in table_html . select ( ".DTFC_LeftBodyWrapper tbody tr" ) ] row_label_ids = [ None ] * len ( row_labels ) cols = [ parse_text ( x . text ) for x in table_html . select ( ".dataTables_scrollHead th" ) ] value_rows = table_html . select ( ".dataTables_scrollBody tbody tr" ) values = [ ] for row_i , value_row in enumerate ( value_rows ) : row_values = [ parse_value ( x . text ) for x in value_row . select ( "td" ) ] values . append ( row_values ) sheet = Sheet ( zip ( row_label_ids , row_labels ) , cols , values ) return sheet . long_format
Get list of dicts from horizontally scrollable table