File size: 220 Bytes
d1c2c35
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import pandas as pd


df = pd.read_csv('recommended_plan.csv')


def get_recommendations(): 
    top_10_rows = df.sample(10)
    recommendations = top_10_rows.to_dict(orient='records')
    return recommendations