Demosthene-OR
commited on
Commit
•
897da90
1
Parent(s):
34e7c43
Add
Browse files- tabs/data_viz_tab.py +1 -1
tabs/data_viz_tab.py
CHANGED
@@ -247,7 +247,7 @@ def proximite():
|
|
247 |
tokens = []
|
248 |
|
249 |
nb_words = st.slider(tr('Nombre de mots à afficher')+' :',10,50, value=20)
|
250 |
-
df = pd.read_csv(dataPath+'/
|
251 |
words_en = df.index.to_list()[:nb_words]
|
252 |
words_fr = df['Francais'].to_list()[:nb_words]
|
253 |
|
|
|
247 |
tokens = []
|
248 |
|
249 |
nb_words = st.slider(tr('Nombre de mots à afficher')+' :',10,50, value=20)
|
250 |
+
df = pd.read_csv(dataPath+'/dict_we_en_fr',header=0,index_col=0, encoding ="utf-8", keep_default_na=False)
|
251 |
words_en = df.index.to_list()[:nb_words]
|
252 |
words_fr = df['Francais'].to_list()[:nb_words]
|
253 |
|