import sys reload(sys) sys.setdefaultencoding('utf-8') import numpy as np def test(): ''' numpy函数np.c_和np.r_学习使用 ''' data_list1=[4,6,12,6,0,3,7] data_list2=[1,5,2,65,6,7,3] data_list3=[1,5,2,65,6] print u'np.r_ data_list1和data_list2合并' print np.r_[da…