Apr-12-2020, 12:19 PM
Howdie!
Not sure if I can post this here, or if it belongs to data analysis.
So I'm importing a dataset and defining x and y.
Here's the code:
Any ideas?
Not sure if I can post this here, or if it belongs to data analysis.
So I'm importing a dataset and defining x and y.
Here's the code:
dataset=pd.read_csv("Data.csv", sep=",") X=dataset.iloc[:, :-1].values y=dataset.iloc[:, :3].valuesProblem is, in the console and the array, the output is exactly the same for both x and y, though in y it should only show one column (:3)
Any ideas?