def rowlst_to_rowdict(rowLst, keyName):
    """
    Convert a list of dictionaries into a dictionary of dictionaries.
    """
    
    rowDict = {}
    for e in rowLst:
        key = e.pop(keyName)
        rowDict[key] = e

    return rowDict