Last answered:

21 Dec 2021

Posted on:

16 Dec 2021

0

I can't get the table's columns separated which caused an error after writing the show code

image.png

1 answers ( 0 marked as helpful)
Instructor
Posted on:

21 Dec 2021

0

Hi Asmaa,
thanks for reaching out! Could you try adding the following addition to your code when you're reading the csv file:

df_used_cars = pd.read_csv("bar_chart_data.csv", sep = ";")

This basically tells the reader to split the entries into separate columns, everytime it encounters the ";", which I believe is the issue in this case.
Let me know if you have any issues with reading the file and creating the plot!

Best,
365 Eli

Submit an answer