logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Python prettytable美化你的输出

看代码:#!/usr/bin/python# -*- coding:utf-8 -*-import prettytable as ptfrom prettytable import from_csvfrom prettytable import from_db_cursorimport MySQLdbimport osimport timedef creatept():tb = pt.Pretty

#python
python pandas交叉表,透视表

python pandas交叉表,透视表对于处理数据来说非常方便,学习笔记总结如下:#!/usr/bin/python-- coding:utf-8 --from future import divisionimport pandas as pdimport numpy as npimportsysimport math# reload(sys)sys.setdefaultencoding( "u

#python
redis hset方法

redis hset方法:initimport ("falcon/middleware/contrib/cache""io/ioutil"//"jobs/contrib/cache""os""strings""time"// "falcon/middleware/contrib/cache"// "github.com/garyburd/redigo/redis"_ "github.com/jin

#redis#github#缓存
到底了