Need to declare a function named read_data but my code is nto…

Question Answered step-by-step Need to declare a function named read_data but my code is nto… Need to declare a function named read_data but my code is nto working: def read_data(file_path):   ”’   Parameters   ———-   file_path: string containing path to the dataset      Returns   ——-   Pandas DataFrame   ”’   import pandas as pd           file_path = pd.read_csv(‘data/dow_jones_index.data’)   return read_data(file_path)  Computer Science Engineering & Technology Python Programming ACCY 577 Share QuestionEmailCopy link Comments (0)