Loading SKLearn cancer dataset into Pandas DataFrame
I’m trying to load a sklearn.dataset, and missing a column, according to the keys (target_names, target & DESCR). I have tried various methods to include the last column, but with errors. import numpy as np import pandas as pd from sklearn.datasets import load_breast_cancer cancer = load_breast_cancer() print cancer.keys() the keys are [‘target_names’, ‘data’, ‘target’, ‘DESCR’, … Read more