I was trying to run but I keep getting file not found for my csv file however the file is there. This could be an issue with the path separator. How do I fix it? Can I add the file path to the code or no?
path = 'D:/ecg/ptb-xl-a-large-publicly-available-electrocardiography-dataset-1.0.1'
sampling_rate=100
Y = pd.read_csv(path+'ptbxl_database.csv', index_col='ecg_id')
Y.scp_codes = Y.scp_codes.apply(lambda x: ast.literal_eval(x))