Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ 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 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 |
+
return pd.concat([global_data.head(), global_data.tail()])
|
24 |
|
25 |
|
26 |
#def label_data(ranges):
|