Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Spyder: ndarray object of numpy module error
Post: RE: Spyder: ndarray object of numpy module error

dataset = pd.read_csv('50_Startups.csv') X = dataset.iloc[:, :-1] Y = dataset.iloc[:, 4] => Remove .values and it will work => But this will just create a dataframe of those datasets and not ob...
rohit_w Homework 6 17,858 Jul-31-2019, 06:21 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020