Update main.py
Browse files
main.py
CHANGED
@@ -321,7 +321,6 @@ async def on_chat_start():
|
|
321 |
|
322 |
df_activites_autonomie_chiffrage_entreprise = df.groupby(['jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Etude_chiffrage', 'taille_entreprise']).size().reset_index(name='obs')
|
323 |
df_activites_autonomie_conception_entreprise = df.groupby(['jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Conception_technique', 'taille_entreprise']).size().reset_index(name='obs')
|
324 |
-
df_activites_autonomie_chiffrage_statut = df.groupby(['jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Etude_chiffrage', 'fonction_Statut_repondant']).size().reset_index(name='obs')
|
325 |
df_categorized_chiffrage_entreprise = df_activites_autonomie_chiffrage_entreprise.groupby("taille_entreprise", observed=True).agg("sum").reset_index()
|
326 |
|
327 |
fig_activites_autonomie_entreprise = make_subplots(rows=2, cols=1, shared_xaxes=True)
|
@@ -331,11 +330,12 @@ async def on_chat_start():
|
|
331 |
1,
|
332 |
)
|
333 |
fig_activites_autonomie_entreprise.add_trace(
|
334 |
-
go.Bar(x=
|
335 |
2,
|
336 |
1,
|
337 |
)
|
338 |
|
|
|
339 |
fig_activites_autonomie_statut = make_subplots(rows=2, cols=1, shared_xaxes=True)
|
340 |
fig_activites_autonomie_statut.add_trace(
|
341 |
go.Bar(x=df_activites_autonomie_chiffrage_statut.obs, y=[[df_activites_autonomie_chiffrage_statut.jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Etude_chiffrage], [df_activites_autonomie_chiffrage_statut.fonction_Statut_repondant]], orientation='h', textposition='inside', textangle=0, textfont_color='white', name="Etude et chiffrage"),
|
|
|
321 |
|
322 |
df_activites_autonomie_chiffrage_entreprise = df.groupby(['jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Etude_chiffrage', 'taille_entreprise']).size().reset_index(name='obs')
|
323 |
df_activites_autonomie_conception_entreprise = df.groupby(['jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Conception_technique', 'taille_entreprise']).size().reset_index(name='obs')
|
|
|
324 |
df_categorized_chiffrage_entreprise = df_activites_autonomie_chiffrage_entreprise.groupby("taille_entreprise", observed=True).agg("sum").reset_index()
|
325 |
|
326 |
fig_activites_autonomie_entreprise = make_subplots(rows=2, cols=1, shared_xaxes=True)
|
|
|
330 |
1,
|
331 |
)
|
332 |
fig_activites_autonomie_entreprise.add_trace(
|
333 |
+
go.Bar(x=df_activites_autonomie_conception_entreprise.obs, y=[[df_activites_autonomie_conception_entreprise.jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Conception_technique], [df_activites_autonomie_conception_entreprise.taille_entreprise]], orientation='h', textposition='inside', textangle=0, textfont_color='white', name="Conception technique"),
|
334 |
2,
|
335 |
1,
|
336 |
)
|
337 |
|
338 |
+
df_activites_autonomie_chiffrage_statut = df.groupby(['jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Etude_chiffrage', 'fonction_Statut_repondant']).size().reset_index(name='obs')
|
339 |
fig_activites_autonomie_statut = make_subplots(rows=2, cols=1, shared_xaxes=True)
|
340 |
fig_activites_autonomie_statut.add_trace(
|
341 |
go.Bar(x=df_activites_autonomie_chiffrage_statut.obs, y=[[df_activites_autonomie_chiffrage_statut.jeune_chargé_activités_exercées_autonomie_autonomie_partielle_ou_non_Etude_chiffrage], [df_activites_autonomie_chiffrage_statut.fonction_Statut_repondant]], orientation='h', textposition='inside', textangle=0, textfont_color='white', name="Etude et chiffrage"),
|