Spaces:
Runtime error
Runtime error
Zack
commited on
Commit
·
54bf1b9
1
Parent(s):
2320b32
chore: drop missing values
Browse files
app.py
CHANGED
@@ -61,7 +61,6 @@ def plot_anomalies(df_test_value, data, anomalies):
|
|
61 |
|
62 |
def clean_data(df):
|
63 |
# Drop rows with any null data
|
64 |
-
df = df.dropna()
|
65 |
|
66 |
# Check if the DataFrame already contains the correct columns
|
67 |
if "timestamp" in df.columns and "value" in df.columns:
|
|
|
61 |
|
62 |
def clean_data(df):
|
63 |
# Drop rows with any null data
|
|
|
64 |
|
65 |
# Check if the DataFrame already contains the correct columns
|
66 |
if "timestamp" in df.columns and "value" in df.columns:
|