basic_utils/utils.py
def add_prefixed_stats(stats, prefix, d):
    """
    Add prefixes to the keys of one dictionary and save the processed terms to another dictionary.

    Args:
        stats: the dict to which the result is saved
        prefix: the prefix to be added
        d: the source dictionary
    """
    if d is not None:
        for k in d:
            stats[prefix + "_" + k] = d[k]

    Add prefixes to the keys of one dictionary and save the processed terms to another dictionary.

    Args:
        stats: the dict to which the result is saved
        prefix: the prefix to be added
        d: the source dictionary
    
Add prefixes to the keys of one dictionary and save the processed terms to another dictionary.
Add prefixes to the keys of one dictionary and save the processed terms to another dictionary .
def add_prefixed_stats(stats, prefix, d):
    if d is not None:
        for k in d:
            stats[prefix + "_" + k] = d[k]
def add_prefixed_stats ( stats , prefix , d ) : if d is not None : for k in d : stats [ prefix + "_" + k ] = d [ k ]
Add prefixes to the keys of one dictionary and save the processed terms to another dictionary.
Add prefixes to the keys of one dictionary and save the processed terms to another dictionary .
"""
    Add prefixes to the keys of one dictionary and save the processed terms to another dictionary.

    Args:
        stats: the dict to which the result is saved
        prefix: the prefix to be added
        d: the source dictionary
    """
stats
the dict to which the result is saved
the dict to which the result is saved
prefix
the prefix to be added
the prefix to be added
d
the source dictionary
the source dictionary