Umang-Bansal commited on
Commit
5ebcf6d
·
verified ·
1 Parent(s): eb0cf93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -20,7 +20,8 @@ def label_data(ranges):
20
  global global_data
21
  for start, end, label in ranges.values:
22
  global_data.loc[start:end, 'label'] = label
23
- return pd.concat([global_data.head(), global_data.tail()])
 
24
 
25
 
26
  #def label_data(ranges):
 
20
  global global_data
21
  for start, end, label in ranges.values:
22
  global_data.loc[start:end, 'label'] = label
23
+ labeled_data = pd.concat([global_data.head(), global_data.tail()])
24
+ return labeled_data
25
 
26
 
27
  #def label_data(ranges):