sourav11295 commited on
Commit
f10abf9
·
1 Parent(s): 30527e5

Final changes app,py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def read(file,dep,ord):
50
  else:
51
  text = "regression"
52
  result = regression(new_df,dep)
53
- return df.sample(5),new_df.sample(5),result, text, cat, ord, nom
54
 
55
  def classification(df,dep):
56
  X = df.drop(dep,axis=1)
 
50
  else:
51
  text = "regression"
52
  result = regression(new_df,dep)
53
+ return df.head(5),new_df.head(5),result, text, cat, ord, nom
54
 
55
  def classification(df,dep):
56
  X = df.drop(dep,axis=1)