How to read CSV file in rasa chatbot?. it is reading the file but not responding to any questions

this is action.py file code the changes were done in nlu.yml, stories.yml, and other files. But the chatbot is not responding to the questions asked.

def run(self, dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
    df = pd.read_csv(r'C:\Users\HP\Documents\database.csv')
    print(df)
    for i, j in df.iterrows():
        dispatcher.utter_message(text=(str(j['source']) + " " + str(j['target']) + " " + str(j['edge'])))
    
    return []