Skip to content

Instantly share code, notes, and snippets.

@omairaasim
Last active September 1, 2019 15:27
Show Gist options
  • Save omairaasim/14326ebc9237f24492507534a2ed5ce3 to your computer and use it in GitHub Desktop.
Save omairaasim/14326ebc9237f24492507534a2ed5ce3 to your computer and use it in GitHub Desktop.
project_1_step_1_load_data
# Step 1 Load Data
import pandas as pd
dataset = pd.read_csv('Salary_Data.csv')
X = dataset.iloc[:, :-1].values
y = dataset.iloc[:,1].values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment