jeff7522553
commited on
Commit
·
8fe85e5
1
Parent(s):
37d32e4
加上max. min
Browse files
app.py
CHANGED
|
@@ -142,7 +142,7 @@ def calculate_statistics(data_str):
|
|
| 142 |
# 組織結果
|
| 143 |
results = f"""
|
| 144 |
📊 **資料摘要**
|
| 145 |
-
• 資料點數: {len(data)}
|
| 146 |
|
| 147 |
📈 **集中趨勢**
|
| 148 |
• 算術平均數: {arithmetic_mean:.4f}
|
|
|
|
| 142 |
# 組織結果
|
| 143 |
results = f"""
|
| 144 |
📊 **資料摘要**
|
| 145 |
+
• 資料點數: {len(data)} 最大值: {np.max(data):.4f} 最小值: {np.min(data):.4f}
|
| 146 |
|
| 147 |
📈 **集中趨勢**
|
| 148 |
• 算術平均數: {arithmetic_mean:.4f}
|