Skip to content
Snippets Groups Projects
Commit 3a24b055 authored by Bouchaira Neirouz's avatar Bouchaira Neirouz
Browse files

yesssssssssssqsssss

parent d843ce3c
Branches
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ if 'logged_in' in st.session_state and st.session_state.logged_in:
cursor.execute("SELECT DATE_LUNDI, NB_HEURES FROM SALAIRE_SEMAINE WHERE NUMERO_EMPLOYE = ?", (int(employe.split(" - ")[0]),))
df=pd.DataFrame(cursor.fetchall(), columns=[desc[0] for desc in cursor.description])
st.write("Nombre d'heures travaillées par semaine pour l'employé sélectionné")
st.dataframe(df, hide_index=True)
st.dataframe(df, hide_index=True, use_container_width=True)
import matplotlib.pyplot as plt
# Filter the last 10 weeks
......@@ -127,7 +127,7 @@ if 'logged_in' in st.session_state and st.session_state.logged_in:
cursor.execute("SELECT DATE_LUNDI, NB_PRODUCTION FROM SALAIRE_SEMAINE WHERE NUMERO_EMPLOYE = ?", (int(employe.split(" - ")[0]),))
df=pd.DataFrame(cursor.fetchall(), columns=[desc[0] for desc in cursor.description])
st.write("Nombre de production par semaine pour l'employé sélectionné (question 4)")
st.dataframe(df, hide_index=True)
st.dataframe(df, hide_index=True, use_container_width=True)
import matplotlib.pyplot as plt
# Filter the last 10 weeks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment