I have a pandas dataframe called data, with two numerical columns (col1 and col2) and one categorical (col3)
I want to plot col1 and col2 against each other, but colour points by col3
I tried this:
plt.scatter(data["col1"],data["col2"],c=data["col3"])
which I expected to work but got an error.