saadob12 commited on
Commit
f590933
·
1 Parent(s): 86f9681

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ class preProcess:
31
 
32
  zipped = list(zip(*headers))
33
  res = [' '.join(map(str,tups)) for tups in zipped]
34
- if len(df.columns) < 2:
35
  input_format = ' x-y values ' + ' - '.join(list(df.columns)) + ' values ' + ' , '.join(res)
36
 
37
  else:
 
31
 
32
  zipped = list(zip(*headers))
33
  res = [' '.join(map(str,tups)) for tups in zipped]
34
+ if len(df.columns) < 3:
35
  input_format = ' x-y values ' + ' - '.join(list(df.columns)) + ' values ' + ' , '.join(res)
36
 
37
  else: