![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
科学计算
aideshizhe0
这个作者很懒,什么都没留下…
展开
-
MySQL CURRENT_TIMESTAMP创建和更新
CREATE TABLE `test` ( `id` INT PRIMARY KEY AUTO_INCREMENT, `msg` VARCHAR(256), `ts_create` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `ts_update` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDAT...原创 2020-03-04 15:26:50 · 1082 阅读 · 0 评论 -
vaex 将csv转换为hdf5
I have a massive CSV file which I can not fit all into memory at one time. How do I convert it to HDF5?We are working to make this process an easy one liner. In the meantime, consider this strategy: ...原创 2020-03-04 13:57:35 · 3706 阅读 · 0 评论 -
pandas学习笔记
1、去掉不需要的行原创 2019-11-07 14:22:18 · 94 阅读 · 0 评论 -
Python格式化输出百分比
a='{:.2%}'.format(42/50)b='%.2f%%' % (2.322)c=a[0:len(a)-1]d=float(c)print('a:%s'%a)print('b:%s'%b)print('c:%s'%c)print('d+1:%s'%(d+1))print(type(a))print(type(b))print(type(c))print(type...原创 2018-11-04 19:46:30 · 6226 阅读 · 0 评论 -
使用pandas进行数据清洗
转载出处:http://www.cnblogs.com/stream886/p/6021743.html目录:数据表中的重复值duplicated()drop_duplicated()数据表中的空值/缺失值isnull()&notnull()dropna()fillna()数据间的空格查看数据中的...转载 2018-10-24 15:44:04 · 285 阅读 · 0 评论 -
一款超级好用的股票财经数据接口包API
Tushare是一个免费、开源的python财经数据接口包。主要实现对股票等金融数据从数据采集、清洗加工 到 数据存储的过程,能够为金融分析人员提供快速、整洁、和多样的便于分析的数据,为他们在数据获取方面极大地减轻工作量,使他们更加专注于策略和模型的研究与实现上。考虑到Python pandas包在金融量化分析中体现出的优势,Tushare返回的绝大部分的数据格式都是pandas DataF...原创 2018-10-01 10:21:05 · 4429 阅读 · 1 评论