We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9e86a commit cfb7ce8Copy full SHA for cfb7ce8
docs/04_visualizations/2-1-bar/index.md
@@ -25,16 +25,7 @@ sidebar_position: 2.1
25
2. 系列字段需要为数值类型
26
27
```sql
28
-# 创建 DataFrame
29
-data = query('select * from yearly.a0806')
30
-
31
-# 转换为 DataFrame
32
-df = DataFrame(data)
33
34
-df = df.pivot(index="day", columns="name", values="value")
35
36
-# 查看数据
37
-return df.sort_values('day')
+select toDateTime(Time/1000) as Time, * from klines.spot_1d where Symbol = 'btc_usdt' and Exchange = 'Binance' order by Time limit 100
38
```
39
40
## 显示设置
0 commit comments