Skip to content

Commit b600c2c

Browse files
authored
Update dataframe.md
1 parent 24bd30d commit b600c2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/03_query/02_dql/dataframe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sidebar_position: 3
1414
### 查询创建
1515

1616
```py
17-
d1 = query("select * from daily_quotes.dqf where product_id = 'FG' limit 100")
17+
d1 = query("select * from klines.future_15m limit 100")
1818
return d1
1919
```
2020

@@ -75,7 +75,7 @@ return d.empty #空的 DataFrame ,返回"True"
7575
`query` 返回的数据并非都是完整的数据(最多支持 10000 行),可使用该属性进行判断指示是否还有更多的内容可供处理或迭代:`Type bool`
7676

7777
```py
78-
data = query("select * from shfe.f_position_ranking")
78+
data = query("select * from klines.future_15m")
7979
return data.has_more #存在更多内容,返回"True"
8080
```
8181

0 commit comments

Comments
 (0)