Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ if uploaded_files:
|
|
| 43 |
numeric_cols = df.select_dtypes(include=['int', 'float']).columns
|
| 44 |
imputer = SimpleImputer(strategy='mean')
|
| 45 |
df[numeric_cols] = imputer.fit_transform(df[numeric_cols])
|
| 46 |
-
dataframes[i] = df
|
| 47 |
|
| 48 |
show_dataframes = st.checkbox("Show DataFrames", value=True)
|
| 49 |
if show_dataframes:
|
|
|
|
| 43 |
numeric_cols = df.select_dtypes(include=['int', 'float']).columns
|
| 44 |
imputer = SimpleImputer(strategy='mean')
|
| 45 |
df[numeric_cols] = imputer.fit_transform(df[numeric_cols])
|
| 46 |
+
dataframes[i] = df
|
| 47 |
|
| 48 |
show_dataframes = st.checkbox("Show DataFrames", value=True)
|
| 49 |
if show_dataframes:
|