Skip to content

Commit e3eae75

Browse files
authored
Update index.md
1 parent 39c1c1a commit e3eae75

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/04_visualizations/2-3-area/index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,7 @@ sidebar_position: 2.3
2828
### 数据示例
2929

3030
```py
31-
# 创建 DataFrame
32-
data = query('select * from yearly.a0806')
33-
34-
# 转换为 DataFrame
35-
df = DataFrame(data)
36-
37-
df = df.pivot(index="day", columns="name", values="value")
38-
39-
return df
31+
select toDateTime(Time/1000) as Time, * from klines.spot_1d where Symbol = 'btc_usdt' and Exchange = 'Binance' order by Time limit 100
4032
```
4133

4234

0 commit comments

Comments
 (0)