Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,8 @@ if uploaded_files:
|
|
| 63 |
st.dataframe(df)
|
| 64 |
|
| 65 |
selected_values = st.multiselect("เลือกค่าจากคอลัมน์", df.columns)
|
| 66 |
-
|
|
|
|
| 67 |
if selected_columns:
|
| 68 |
for col in selected_columns:
|
| 69 |
df[col] = df[col].astype(float)
|
|
|
|
| 63 |
st.dataframe(df)
|
| 64 |
|
| 65 |
selected_values = st.multiselect("เลือกค่าจากคอลัมน์", df.columns)
|
| 66 |
+
|
| 67 |
+
convert_to_float = st.checkbox("convert columns to float", value=False)
|
| 68 |
if selected_columns:
|
| 69 |
for col in selected_columns:
|
| 70 |
df[col] = df[col].astype(float)
|