Skip to content

Instantly share code, notes, and snippets.

@codeperfectplus
Created June 28, 2020 02:28
Show Gist options
  • Save codeperfectplus/b45a514b04e52c5cda827048657c6c41 to your computer and use it in GitHub Desktop.
Save codeperfectplus/b45a514b04e52c5cda827048657c6c41 to your computer and use it in GitHub Desktop.
## Importing the necessary Libraries
import pandas as pd
import matplotlib.pyplot as plt
## Importing the datasert
data = pd.read_csv("https://raw.githubusercontent.com/codePerfectPlus/DataAnalysisWithJupyter/master/SalaryVsExperinceModel/Salary.csv")
X = data.iloc[:, :-1].values
y = data.iloc[:, -1].values
data.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment