Spaces:
Sleeping
Sleeping
Update app.py
Browse filesVersion qui fonctionne à reprendre si problème
app.py
CHANGED
|
@@ -54,32 +54,6 @@ def load_file_and_measure_time(file_path, library, file_ext, read_kwargs):
|
|
| 54 |
df = pl.read_excel(file_path, sheet_id=sheet_idx + 1)
|
| 55 |
|
| 56 |
# --- CSV ---
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
else:
|
| 84 |
header_val = 0 if read_kwargs.get('header') else None
|
| 85 |
if library == 'pandas':
|
|
@@ -231,7 +205,7 @@ if st.session_state.target_file is not None:
|
|
| 231 |
f'{bar.get_width():.4f}s', va='center', fontsize=10, fontweight='bold')
|
| 232 |
|
| 233 |
ax.set_xlabel('Temps (secondes)')
|
| 234 |
-
ax.set_title('Comparaison de
|
| 235 |
st.pyplot(fig)
|
| 236 |
plt.close(fig)
|
| 237 |
|
|
|
|
| 54 |
df = pl.read_excel(file_path, sheet_id=sheet_idx + 1)
|
| 55 |
|
| 56 |
# --- CSV ---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
else:
|
| 58 |
header_val = 0 if read_kwargs.get('header') else None
|
| 59 |
if library == 'pandas':
|
|
|
|
| 205 |
f'{bar.get_width():.4f}s', va='center', fontsize=10, fontweight='bold')
|
| 206 |
|
| 207 |
ax.set_xlabel('Temps (secondes)')
|
| 208 |
+
ax.set_title('Comparaison des vitesses de lecture')
|
| 209 |
st.pyplot(fig)
|
| 210 |
plt.close(fig)
|
| 211 |
|