I have a string, the format is the same as csv, with first row as column name and rest of the records be data. How do I use pyspark to load this string into data frame.
str = '''
sale_id, cust_name, amount
111, abc, 10000
222, bcd, 15000
'''