We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0faea1 commit 00256b7Copy full SHA for 00256b7
1 file changed
docs/04_visualizations/2-2-line/index.md
@@ -27,15 +27,7 @@ sidebar_position: 2.2
27
### 数据示例
28
29
```py
30
-# 创建 DataFrame
31
-data = query('select * from yearly.a0301')
32
-
33
-# 转换为 DataFrame
34
-df = DataFrame(data)
35
36
-df = df.pivot(index="day", columns="name", values="value")
37
38
-return df
+select toDateTime(Time/1000) as Time, * from klines.spot_1d where Symbol = 'btc_usdt' and Exchange = 'Binance' order by Time limit 100
39
```
40
41
0 commit comments