Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1092,8 +1092,8 @@ elif app_mode == "EDA":
|
|
1092 |
fig, ax = plt.subplots(1, 2, figsize=(12, 5))
|
1093 |
|
1094 |
if transform_col:
|
1095 |
-
|
1096 |
-
|
1097 |
|
1098 |
if transform_type == "Log":
|
1099 |
df[transform_col] = np.log1p(df[transform_col])
|
|
|
1092 |
fig, ax = plt.subplots(1, 2, figsize=(12, 5))
|
1093 |
|
1094 |
if transform_col:
|
1095 |
+
sns.histplot(df[transform_col], bins=30, kde=True, ax=ax[0])
|
1096 |
+
ax[0].set_title('Before Transformation')
|
1097 |
|
1098 |
if transform_type == "Log":
|
1099 |
df[transform_col] = np.log1p(df[transform_col])
|