Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Sean Cho
commited on
Commit
•
a6b747d
1
Parent(s):
341b50f
Improve interval readability
Browse files
app.py
CHANGED
@@ -244,11 +244,11 @@ def select_columns(df: pd.DataFrame, columns: list) -> pd.DataFrame:
|
|
244 |
|
245 |
NUMERIC_INTERVALS = {
|
246 |
"Unknown": pd.Interval(-1, 0, closed="right"),
|
247 |
-
"~3B": pd.Interval(0, 3, closed="right"),
|
248 |
-
"~7B": pd.Interval(3, 7, closed="right"),
|
249 |
-
"~13B": pd.Interval(7, 13, closed="right"),
|
250 |
-
"~35B": pd.Interval(13, 35, closed="right"),
|
251 |
-
"~60B": pd.Interval(35, 60, closed="right"),
|
252 |
"60B+": pd.Interval(60, 10000, closed="right"),
|
253 |
}
|
254 |
|
|
|
244 |
|
245 |
NUMERIC_INTERVALS = {
|
246 |
"Unknown": pd.Interval(-1, 0, closed="right"),
|
247 |
+
"0~3B": pd.Interval(0, 3, closed="right"),
|
248 |
+
"3~7B": pd.Interval(3, 7, closed="right"),
|
249 |
+
"7~13B": pd.Interval(7, 13, closed="right"),
|
250 |
+
"13~35B": pd.Interval(13, 35, closed="right"),
|
251 |
+
"35~60B": pd.Interval(35, 60, closed="right"),
|
252 |
"60B+": pd.Interval(60, 10000, closed="right"),
|
253 |
}
|
254 |
|