Spaces:
Runtime error
Runtime error
Zack
commited on
Commit
·
502e76d
1
Parent(s):
a682bbf
chore: drop missing values
Browse files
app.py
CHANGED
|
@@ -60,7 +60,6 @@ def plot_anomalies(df_test_value, data, anomalies):
|
|
| 60 |
return fig
|
| 61 |
|
| 62 |
def clean_data(df):
|
| 63 |
-
|
| 64 |
# Check if the DataFrame already contains the correct columns
|
| 65 |
if "timestamp" in df.columns and "value" in df.columns:
|
| 66 |
df["timestamp"] = pd.to_datetime(df["timestamp"])
|
|
|
|
| 60 |
return fig
|
| 61 |
|
| 62 |
def clean_data(df):
|
|
|
|
| 63 |
# Check if the DataFrame already contains the correct columns
|
| 64 |
if "timestamp" in df.columns and "value" in df.columns:
|
| 65 |
df["timestamp"] = pd.to_datetime(df["timestamp"])
|