Skip to content

Commit 00256b7

Browse files
authored
Update index.md
1 parent d0faea1 commit 00256b7

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

docs/04_visualizations/2-2-line/index.md

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

2929
```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
30+
select toDateTime(Time/1000) as Time, * from klines.spot_1d where Symbol = 'btc_usdt' and Exchange = 'Binance' order by Time limit 100
3931
```
4032

4133

0 commit comments

Comments
 (0)