Commit ·
b4ea3b9
1
Parent(s): 5698c10
fix use_container_width->width
Browse files- src/page/acte.py +1 -1
- src/page/bacteries.py +1 -1
- src/page/ctxt.py +1 -1
- src/page/intox.py +2 -2
src/page/acte.py
CHANGED
|
@@ -65,4 +65,4 @@ if selection:
|
|
| 65 |
_temp = acte.filter((pl.col("LIBELLE_CARACTERISTIQUE").is_in(selection))).select("CODE_ACTE").unique()
|
| 66 |
df = df.join(_temp, on="CODE_ACTE", how="inner").rename(names)
|
| 67 |
|
| 68 |
-
st.dataframe(df.to_pandas(), hide_index=True,
|
|
|
|
| 65 |
_temp = acte.filter((pl.col("LIBELLE_CARACTERISTIQUE").is_in(selection))).select("CODE_ACTE").unique()
|
| 66 |
df = df.join(_temp, on="CODE_ACTE", how="inner").rename(names)
|
| 67 |
|
| 68 |
+
st.dataframe(df.to_pandas(), hide_index=True, width='stretch')
|
src/page/bacteries.py
CHANGED
|
@@ -31,7 +31,7 @@ df = data.filter(
|
|
| 31 |
)
|
| 32 |
|
| 33 |
st.dataframe(
|
| 34 |
-
df.to_pandas(), hide_index=True,
|
| 35 |
)
|
| 36 |
|
| 37 |
st.divider()
|
|
|
|
| 31 |
)
|
| 32 |
|
| 33 |
st.dataframe(
|
| 34 |
+
df.to_pandas(), hide_index=True, width='stretch'
|
| 35 |
)
|
| 36 |
|
| 37 |
st.divider()
|
src/page/ctxt.py
CHANGED
|
@@ -13,6 +13,6 @@ ctxt = pl.DataFrame(records).drop("id").unnest("fields").sort(pl.col("Code_CIM_1
|
|
| 13 |
|
| 14 |
st.title("Contexte patient")
|
| 15 |
|
| 16 |
-
st.dataframe(ctxt.to_pandas(), hide_index=True,
|
| 17 |
|
| 18 |
st.divider()
|
|
|
|
| 13 |
|
| 14 |
st.title("Contexte patient")
|
| 15 |
|
| 16 |
+
st.dataframe(ctxt.to_pandas(), hide_index=True, width='stretch')
|
| 17 |
|
| 18 |
st.divider()
|
src/page/intox.py
CHANGED
|
@@ -50,7 +50,7 @@ df = data.filter(
|
|
| 50 |
)
|
| 51 |
|
| 52 |
st.dataframe(
|
| 53 |
-
df.drop("full_match").to_pandas(), hide_index=True,
|
| 54 |
)
|
| 55 |
st.divider()
|
| 56 |
|
|
@@ -65,5 +65,5 @@ exp2 = unidecode.unidecode(exp2)
|
|
| 65 |
# filter data with options
|
| 66 |
df2 = cim10.filter(pl.col("SUBSTANCE").str.contains("(?i)" + exp2))
|
| 67 |
|
| 68 |
-
st.dataframe(df2.to_pandas(), hide_index=True,
|
| 69 |
st.divider()
|
|
|
|
| 50 |
)
|
| 51 |
|
| 52 |
st.dataframe(
|
| 53 |
+
df.drop("full_match").to_pandas(), hide_index=True, width='stretch'
|
| 54 |
)
|
| 55 |
st.divider()
|
| 56 |
|
|
|
|
| 65 |
# filter data with options
|
| 66 |
df2 = cim10.filter(pl.col("SUBSTANCE").str.contains("(?i)" + exp2))
|
| 67 |
|
| 68 |
+
st.dataframe(df2.to_pandas(), hide_index=True, width='stretch')
|
| 69 |
st.divider()
|