Skip to content

Commit

Permalink
Merge pull request #3 from disha2sinha/master
Browse files Browse the repository at this point in the history
Update predict_salary.py
  • Loading branch information
debanjanakarmakar authored Feb 22, 2020
2 parents 0042017 + f524a3c commit f33dfb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions predict_salary.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def __init__(self,root):

def predict_salary(self):
try:
if(os.path.exists(r'C:\Users\Debanjana\Documents\datasets\empsal.csv')):
if(os.path.exists('empsal.csv')):

data=pd.read_csv(r"C:\Users\Debanjana\Documents\datasets\empsal.csv",parse_dates=True,infer_datetime_format=True)
data=pd.read_csv("empsal.csv",parse_dates=True,infer_datetime_format=True)

print(data.head())
def calculate_age(dob):
Expand Down

0 comments on commit f33dfb8

Please sign in to comment.