def get_project_name(task_id, tasks_df, projects_df):
    """Return the project name from the task ID."""
    task = tasks_df.loc[int(task_id)]
    project = projects_df.loc[int(task.project_id)]
    return project['name']