Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,9 +65,11 @@ class DataList:
|
|
65 |
df = df.loc[df.Type.isin(set(filter_names))]
|
66 |
temp = []
|
67 |
for x in filter_names2:
|
68 |
-
temp
|
69 |
|
70 |
-
|
|
|
|
|
71 |
|
72 |
@staticmethod
|
73 |
def to_html(df: pd.DataFrame, table_header: str) -> str:
|
|
|
65 |
df = df.loc[df.Type.isin(set(filter_names))]
|
66 |
temp = []
|
67 |
for x in filter_names2:
|
68 |
+
temp.append(df[df.name_lowercase.str.contains(x.lower())])
|
69 |
|
70 |
+
df= pd.Dataframe(temp)
|
71 |
+
|
72 |
+
return df
|
73 |
|
74 |
@staticmethod
|
75 |
def to_html(df: pd.DataFrame, table_header: str) -> str:
|