Sean Cho commited on
Commit
75da23f
1 Parent(s): 605c80f

fix interval

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -243,13 +243,13 @@ def select_columns(df: pd.DataFrame, columns: list) -> pd.DataFrame:
243
  return filtered_df
244
 
245
  NUMERIC_INTERVALS = {
246
- "Unknown": pd.Interval(-1, 0, closed="right"),
247
- "< 1.5B": pd.Interval(0, 1.5, closed="right"),
248
- "~3B": pd.Interval(1.5, 5, closed="right"),
249
- "~7B": pd.Interval(6, 11, closed="right"),
250
- "~13B": pd.Interval(12, 15, closed="right"),
251
- "~35B": pd.Interval(16, 55, closed="right"),
252
- "60B+": pd.Interval(55, 10000, closed="right"),
253
  }
254
 
255
  def filter_models(
 
243
  return filtered_df
244
 
245
  NUMERIC_INTERVALS = {
246
+ "Unknown": pd.Interval(-1, 0, closed="right"),
247
+ "~3B": pd.Interval(1.5, 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
 
255
  def filter_models(