lvkaokao
commited on
Commit
•
fd7d6d0
1
Parent(s):
259a967
update.
Browse files
app.py
CHANGED
@@ -133,8 +133,6 @@ def search_table(df: pd.DataFrame, query: str) -> pd.DataFrame:
|
|
133 |
def select_columns(df: pd.DataFrame, columns: list) -> pd.DataFrame:
|
134 |
always_here_cols = [c.name for c in fields(AutoEvalColumn) if c.never_hidden]
|
135 |
dummy_col = [AutoEvalColumn.dummy.name]
|
136 |
-
#AutoEvalColumn.model_type_symbol.name,
|
137 |
-
#AutoEvalColumn.model.name,
|
138 |
# We use COLS to maintain sorting
|
139 |
filtered_df = df[
|
140 |
always_here_cols + [c for c in COLS if c in df.columns and c in columns] + dummy_col
|
|
|
133 |
def select_columns(df: pd.DataFrame, columns: list) -> pd.DataFrame:
|
134 |
always_here_cols = [c.name for c in fields(AutoEvalColumn) if c.never_hidden]
|
135 |
dummy_col = [AutoEvalColumn.dummy.name]
|
|
|
|
|
136 |
# We use COLS to maintain sorting
|
137 |
filtered_df = df[
|
138 |
always_here_cols + [c for c in COLS if c in df.columns and c in columns] + dummy_col
|