Spaces:
Sleeping
Sleeping
Commit
·
a636254
1
Parent(s):
19b8fa5
Oracle
Browse files
Oracle/deepfundingoracle.py
CHANGED
@@ -406,7 +406,7 @@ def clean_data(df):
|
|
406 |
iqr = q3 - q1
|
407 |
lower_bound = q1 - 1.5 * iqr
|
408 |
upper_bound = q3 + 1.5 * iqr
|
409 |
-
df
|
410 |
|
411 |
return df
|
412 |
|
|
|
406 |
iqr = q3 - q1
|
407 |
lower_bound = q1 - 1.5 * iqr
|
408 |
upper_bound = q3 + 1.5 * iqr
|
409 |
+
df[col] = df[col].clip(lower=lower_bound, upper=upper_bound)
|
410 |
|
411 |
return df
|
412 |
|