def create_folder(path_results, foldername):
    """
    Create folder.

    Create a folder at path location and name it.

    Parameters
    ----------
    path_results : path
        Pathlib path for folder creation.
    foldername : str
        Name of the new folder.

    Returns
    -------
    path_folder : path
        Pathlib path of new folder.
    """
    path_folder = path_results.joinpath(foldername)
    path_folder.mkdir(exist_ok = True)
    return path_folder