Skip to content

Conversation

@Srilekha927
Copy link

#set X and Y:

X = df2.drop(['MCI'],axis=1).values #sets x and converts to an array print(X.head())

Here, the print statement would result in an error because X is an array. Using head() on arrays is not permissible due to its incompatible nature with array types.

#set X and Y:

X = df2.drop(['MCI'],axis=1).values #sets x and converts to an array
print(X.head())

Here, the print statement would result in an error because X is an array. Using head() on arrays is not permissible due to its incompatible nature with array types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant