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