(request_list, row_template, col_headers)
return pd.DataFrame(outer, columns=col_headers)
This function takes in a SSE request as a list together with a row template and column headers as lists of strings.
    Returns a Data Frame for the request.
    e.g. request_df(request_list, ['strData', 'numData', 'strData'], ['dim1', 'measure', 'kwargs'])
This function takes in a SSE request as a list together with a row template and column headers as lists of strings.
    Returns a Data Frame for the request.
    e.g. request_df(request_list, ['strData', 'numData', 'strData'], ['dim1', 'measure', 'kwargs'])
This function takes in a SSE request as a list together with a row template and column headers as lists of strings . Returns a Data Frame for the request . e . g . request_df ( request_list [ strData numData strData ] [ dim1 measure kwargs ] )
def request_df(request_list, row_template, col_headers):
    """
    This function takes in a SSE request as a list together with a row template and column headers as lists of strings.
    Returns a Data Frame for the request.
    e.g. request_df(request_list, ['strData', 'numData', 'strData'], ['dim1', 'measure', 'kwargs'])
    """
    
    rows = [row for request_rows in request_list for row in request_rows.rows]
    outer = []
    
    for i in range(len(rows)):
        inner = []
        
        for j in range(len(row_template)):
            inner.append(getattr(rows[i].duals[j], row_template[j]))
        
        outer.append(inner)
    
    return pd.DataFrame(outer, columns=col_headers)
def request_df ( request_list , row_template , col_headers ) : rows = [ row for request_rows in request_list for row in request_rows . rows ] outer = [ ] for i in range ( len ( rows ) ) : inner = [ ] for j in range ( len ( row_template ) ) : inner . append ( getattr ( rows [ i ] . duals [ j ] , row_template [ j ] ) ) outer . append ( inner ) return pd . DataFrame ( outer , columns = col_headers )