recommender.py
def recommend_random(movies, k=10):
    """
    Dummy recommender that recommends a list of random movies. Ignores the actual query.
    """
    return movies['title'].sample(k).to_list()

    Dummy recommender that recommends a list of random movies. Ignores the actual query.
    
Dummy recommender that recommends a list of random movies. Ignores the actual query.
Dummy recommender that recommends a list of random movies . Ignores the actual query .
def recommend_random(movies, k=10):
    return movies['title'].sample(k).to_list()
def recommend_random ( movies , k = 10 ) : return movies [ 'title' ] . sample ( k ) . to_list ( )
Dummy recommender that recommends a list of random movies.
Dummy recommender that recommends a list of random movies .
"""
    Dummy recommender that recommends a list of random movies. Ignores the actual query.
    """
movies
k