Skip to content

Commit 9c78d37

Browse files
committed
[DOC] fix import error
1 parent bbabdcd commit 9c78d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pip install python_snappy-0.5.1-cp27-cp27m-win_amd64.whl
3333
## 3、使用DataApi
3434

3535
```python
36-
from .data_api import DataApi # 这里假设工作目录是项目根目录
36+
from DataApi import DataApi # 这里假设项目目录名为DataApi, 且存放在工作目录下
3737

3838
api = DataApi(addr="tcp://data.tushare.org:8910")
3939
result, msg = api.login("username", "token") # 示例账户,用户需要改为自己在www.quantos.org上注册的账户

0 commit comments

Comments
 (0)