摘要: # -*- coding: utf-8 -*-"""Created on Sat Jun 30 14:49:22 2018 @author: zhen""" import numpy as npa = np.array([[1,2,3],[11,22,33]])b = np.array([[4,5, 阅读全文
posted @ 2018-06-30 15:14 云山之巅 阅读(5507) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Sat Jun 30 11:49:56 2018 @author: zhen"""# 测试排列组合 import itertools# 定义测试数据list_test = [1,2,3,4,5]# 定义结果数据list_res 阅读全文
posted @ 2018-06-30 14:20 云山之巅 阅读(3068) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Sat Jun 30 10:09:47 2018测试分组groupby@author: zhen"""from pandas import DataFrame"""data = [ [1,2,2,1] [2,2,2,2] [1 阅读全文
posted @ 2018-06-30 11:45 云山之巅 阅读(1636) 评论(0) 推荐(0)