I have dataFrame object.
df = pd.read_csv("new_data.csv", index_col = 0) When I do
print df.head() The output was
... Risk ... 0 ... 2 ... 1 ... 3 ... ... But when I try this X = df.drop("Risk", 1).values
There was an error
"['Risk'] not found in axis"