Skip to content

Instantly share code, notes, and snippets.

@staricon12
Created July 13, 2021 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save staricon12/1f9c8e6a7699122e9ccdd3e7afb55def to your computer and use it in GitHub Desktop.
Save staricon12/1f9c8e6a7699122e9ccdd3e7afb55def to your computer and use it in GitHub Desktop.
#Changing pandas dataframe to numpy array
X = dataset.iloc[:,:20].values
y = dataset.iloc[:,20:21].values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment