anton-l HF staff commited on
Commit
660a762
1 Parent(s): 12597d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- 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
 
 
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