Spaces:
Runtime error
Runtime error
teamnassim
commited on
Commit
•
f6f285e
1
Parent(s):
2717a3c
removed extra thank you button
Browse files
app.py
CHANGED
@@ -155,10 +155,6 @@ def main():
|
|
155 |
imp = SimpleImputer(missing_values = np.nan, strategy="mean")
|
156 |
df.loc[:,df.dtypes != 'object'] = imp.fit_transform(df.loc[:,df.dtypes != 'object'])
|
157 |
|
158 |
-
|
159 |
-
if st.button("Thanks"):
|
160 |
-
st.balloons()
|
161 |
-
|
162 |
# One hot encoding for categorical variables
|
163 |
|
164 |
features = st.multiselect('select features and target variable',df.columns.tolist())
|
|
|
155 |
imp = SimpleImputer(missing_values = np.nan, strategy="mean")
|
156 |
df.loc[:,df.dtypes != 'object'] = imp.fit_transform(df.loc[:,df.dtypes != 'object'])
|
157 |
|
|
|
|
|
|
|
|
|
158 |
# One hot encoding for categorical variables
|
159 |
|
160 |
features = st.multiselect('select features and target variable',df.columns.tolist())
|