Skip to content

Commit f122715

Browse files
authored
Update index.md
1 parent 16612aa commit f122715

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/04_visualizations/3-4-rose/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ sidebar_position: 3.4
2121
### 数据示例
2222

2323
```py
24+
# 创建 DataFrame
2425
data = {
25-
'product_code': ['螺纹钢', '铁矿石', '热卷', '焦煤', '焦炭'], # 5个品种
26-
'inmoney': [15, 10, 7, 2, 5] # 流入金额
26+
"Coin": ["BTC", "ETH", "SOL", "DOGE", "LTC"],
27+
"MarketValue": [100, 90, 70, 20, 40]
2728
}
2829

2930
return data

0 commit comments

Comments
 (0)