From 47109f7d6ac8476f3d95627a7b40b8c9c22096f6 Mon Sep 17 00:00:00 2001 From: Nicolas Barthes <nicolas.barthes@cnrs.fr> Date: Wed, 4 Dec 2024 11:10:17 +0100 Subject: [PATCH] 1-samples_selection.py for server correct display --- src/pages/1-samples_selection.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/1-samples_selection.py b/src/pages/1-samples_selection.py index 180ba87..2a9977d 100644 --- a/src/pages/1-samples_selection.py +++ b/src/pages/1-samples_selection.py @@ -155,9 +155,9 @@ if not spectra.empty: with c2: st.write('Data summary:') - st.write('- the number of spectra:'+spectra.shape[0]) - st.write('- the number of wavelengths:'+spectra.shape[1]) - st.write('- the number of categorical variables:'+meta_data.shape[1]) + st.write('- the number of spectra:'+ str(spectra.shape[0])) + st.write('- the number of wavelengths:'+ str(spectra.shape[1])) + st.write('- the number of categorical variables:'+ str(meta_data.shape[1])) ################################################### END : I- Data loading and preparation #################################################### -- GitLab