摘要: ``` cols = all_data_st.columns.tolist() # cols = cols[-1:] + cols[:-1] all_data_st = all_data_st[ [u'date', u'ext price', u'status', u'account number', u'name', u'sku', u'quantity', u'unit pric... 阅读全文
posted @ 2017-04-21 20:43 idlewith 阅读(179) 评论(0) 推荐(0) 编辑
摘要: ``` #!/usr/bin/env python # _*_ coding: utf-8 _*_ # @Time : 2017/4/18 15:22 # @Author : otfsenter # @File : strip_extr.py import pprint import jieba import numpy as np import pandas as pd i... 阅读全文
posted @ 2017-04-21 14:26 idlewith 阅读(346) 评论(0) 推荐(0) 编辑
摘要: ``` http://bit.ly/uforeports ``` 阅读全文
posted @ 2017-04-21 03:12 idlewith 阅读(127) 评论(0) 推荐(0) 编辑
摘要: ``` df = pd.DataFrame(np.arange(16).reshape((4, 4)), index=['Ohio', 'Colorado', 'Utah', 'New York'], columns=['one', 'two', 'three', 'four']) df.ix[np.logical_and(df... 阅读全文
posted @ 2017-04-21 02:07 idlewith 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: sales feb 2014.xlsx sales jan 2014.xlsx sales mar 2014.xlsx ['sales feb 2014.xlsx', 'sales jan 2014.xlsx', 'sales mar 2014.xlsx'] account number name 阅读全文
posted @ 2017-04-21 01:24 idlewith 阅读(271) 评论(0) 推荐(0) 编辑