| Machine | Status | Temp,°C | Vib | Current | Risk |
|---|
| Machine | Window |
|---|---|
| M2 | 14:00-15:00 |
| M4 | 15:30-16:00 |
| M7 | 17:00-17:45 |
df = pd.read_csv("machine_logs.csv", parse_dates=["timestamp"])
df = df.dropna(subset=["temperature","vibration","current"])
scaler = StandardScaler()
df[["temperature","vibration","current",
"cycle_time"]] = scaler.fit_transform(...)