def _init_2d_nested_dict(keys1, keys2):
    """Creates 2-dimensional nested dict that are meant to hold a variable.

    :param keys1: Keys for the first level as a list-like element
    :param keys2: Keys for the second level as a list-like element
    """
    var = dict.fromkeys(keys1)
    for k1 in keys1:
        var[k1] = dict.fromkeys(keys2)
    return var
