摘要: 引入模块: 1、中文分词:jieba 2、绘图库:matplotlib 3、数组运算、数学函数库numpy 例: import numpy as np from matplotlib import pyplot as plt x = np.arange(1,11) y = 2 * x + 5 plt 阅读全文
posted @ 2019-05-21 15:47 leon-chan 阅读(247) 评论(0) 推荐(0)
摘要: function is_oneDimensionalArray($arr) { //count(array,[int model]) 默认为0,1为无限递归 if(count($arr) == count($arr,1)){ return true; }else{ return false; } } 阅读全文
posted @ 2019-05-21 13:44 leon-chan 阅读(516) 评论(0) 推荐(0)