Comments (5)
没有增加是怕变得臃肿。我不记得Tushare自己有sqlite/mongodb配置?
参考http://tushare.org/storing.html
好像没有看到类似的配置
from tuchart.
截图上传失败,nosql就是,往下翻就能看到,
from tuchart.
不过确实不是tushare直接提供的
MongoDB
pandas目前没有提供直接存入MongoDB的方法,不过依然很简单,而且方式很多,用户可根据自身的业务特点选择存储的结构方式。
使用方法:
import pymongo
import json
conn = pymongo.Connection('127.0.0.1', port=27017)
df = ts.get_tick_data('600848',date='2014-12-22')
conn.db.tickdata.insert(json.loads(df.to_json(orient='records')))
from tuchart.
用mysql也可以,有个数据存存起来感觉更好点,哈哈哈
from tuchart.
@royburns 确实可以考虑一下,目前没加还是因为dependency太复杂会增加使用难度
from tuchart.
Related Issues (20)
- mac terminal / anaconda 安装后启动出现如下问题 HOT 3
- K线的数据是在本地吗?还是在Tushare上? HOT 1
- ImportError: No module named sip HOT 1
- 绘图失败 HOT 1
- Keyerror: "['date'] not in index"
- 画十大股东的图时,程序崩溃,重启程序才能绘出崩溃前的十大股东图,请问如何解决? HOT 1
- 运行出现错误, 显示module未找到 HOT 1
- 建议 HOT 2
- 有的股票搜不到啊 HOT 2
- Error when running pip install tuchart HOT 3
- Error when running pip install tuchart
- This webpage is not found HOT 2
- 运行main.py 之后网页找不到文件 没有图标显示 HOT 1
- super li HOT 1
- Pyechart 的overlap改写成rectchart的一个方法了,代码需要重写 HOT 1
- UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
- pip install tuchart失败 安装失败
- k线与Volume HOT 1
- utf-8在一些系统上显示有问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuchart.