Skip to content

Instantly share code, notes, and snippets.

@Alakhator
Created March 24, 2020 19:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alakhator/a56458b4cd70a743f6202ef7d475582f to your computer and use it in GitHub Desktop.
Save Alakhator/a56458b4cd70a743f6202ef7d475582f to your computer and use it in GitHub Desktop.
dataset = pd.read_csv('Position_Salaries.csv')
X = dataset.iloc[:, 1:2].values
y = dataset.iloc[:, 2].values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment