I have comma separated text (string format) from as output from an API call, an small example shown below.
cs_file = 'Reviewer Name,Account Reviewer Name,Account Manager Name\r\n"Last, First","Last, First","Last, First"'
A new line is shown by '\r\n'. My thought would be to split the text at this first an then create a data frame by splitting at ",". However, splitting at '\r\n' does not work, just get one list...
cs_list = []
cs_list = cs_file.split(r'\r\n')
Any suggestions on a better approach? The goal would be to have this text saved as a csv.