Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ exts = list(df["extension"].unique())
|
|
9 |
|
10 |
def compute(lang):
|
11 |
df_lang = df[df["language"]==lang]
|
|
|
12 |
# clean up weird exts
|
13 |
df_lang = df_lang[df_lang["ext_fraction_per_lang"] > 0.0001].reset_index()
|
14 |
|
|
|
9 |
|
10 |
def compute(lang):
|
11 |
df_lang = df[df["language"]==lang]
|
12 |
+
df_lang["extension"] = df["extension"].fillna(" ")
|
13 |
# clean up weird exts
|
14 |
df_lang = df_lang[df_lang["ext_fraction_per_lang"] > 0.0001].reset_index()
|
15 |
|