Created
December 25, 2017 10:42
-
-
Save sagarhowal/0385ef0d882d77dfd0170fb89e36e53b to your computer and use it in GitHub Desktop.
Separating X and y
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Seperating dependent and independent variables. | |
X = dataset.iloc[:, 2:32].values #Note: Exclude Last column with all NaN values. | |
y = dataset.iloc[:, 1].values |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment