I am loading the built-in boston data set in scikit library as:
from sklearn.datasets import load_boston
bdata = load_boston()
I want to extract all the values in the first column, which is called as CRIM. I Have written a line like:
plt.scatter(bdata.CRIM,bdata.target,color='blue')
But I am getting an error as "AttributeError: 'Bunch' object has no attribute 'CRIM'"
How do I access the elements of the column titled 'CRIM' ?