datacipen commited on
Commit
2dbe072
·
verified ·
1 Parent(s): 39d1a78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -2,7 +2,6 @@ import os
2
  import datetime
3
  import requests
4
  import textwrap
5
- from pythonmonkey import require as js_require
6
  from offres_emploi import Api
7
  from offres_emploi.utils import dt_to_str_iso
8
  from dash import Dash, html, dcc, callback, Output, Input, dash_table, State, _dash_renderer, clientside_callback
@@ -856,9 +855,6 @@ def create_repartition(array_value, selectedData, theme):
856
 
857
  df_FT = API_France_Travail(array_value)
858
 
859
- test = js_require('./public/contexte');
860
- test.contextia(df_FT.to_string(index = False))
861
-
862
  ######## localisation ########
863
  df = df_FT[['intitule','typeContratLibelle','experienceLibelle','lieuTravail','secteurActiviteLibelle']].copy()
864
  df["lieuTravail"] = df["lieuTravail"].apply(lambda x: x['libelle']).apply(lambda x: x[0:3]).apply(lambda x: x.strip())
 
2
  import datetime
3
  import requests
4
  import textwrap
 
5
  from offres_emploi import Api
6
  from offres_emploi.utils import dt_to_str_iso
7
  from dash import Dash, html, dcc, callback, Output, Input, dash_table, State, _dash_renderer, clientside_callback
 
855
 
856
  df_FT = API_France_Travail(array_value)
857
 
 
 
 
858
  ######## localisation ########
859
  df = df_FT[['intitule','typeContratLibelle','experienceLibelle','lieuTravail','secteurActiviteLibelle']].copy()
860
  df["lieuTravail"] = df["lieuTravail"].apply(lambda x: x['libelle']).apply(lambda x: x[0:3]).apply(lambda x: x.strip())