This commit is contained in:
Your Name
2025-03-28 15:59:54 +01:00
parent c6b138220e
commit 4653fe44e3
8 changed files with 247 additions and 44 deletions

View File

@@ -523,7 +523,7 @@ try:
rows = cursor.fetchall()
# Exclude the timestamp column (assuming first column is timestamp)
data_values = [row[1:] for row in rows] # Exclude timestamp
data_values = [row[2:] for row in rows] # Exclude timestamp
# Compute column-wise average
num_columns = len(data_values[0])
averages = [round(sum(col) / len(col),1) for col in zip(*data_values)]