Resolved: TypeError: 'tuple' object is not callable
I am getting this error and can't figure what's the problem here?
thanks for reaching out! Your code seems perfectly in order from what I'm seeing, which means the error lies somewhere else. A possible reason for this type of error could be the reading of the csv, as sometimes in Python, the read function does not automatically split the columns.
You could try:
df_fuel_engine_type = pd.read_csv("pie_chart_data.csv" , sep = ",")
when reading the pie chart data and let me know how it goes. If it still doesn't work you can send me a snapshot of how your df_fuel_engine_type data frame looks like.