- 博客(5)
- 收藏
- 关注
转载 python判断数字
python判断数字,使用正则表达式def isnumber(num): regex = re.compile(r"^(-?\d+)(\.\d*)?$") if re.match(regex,num): return True else: return False
2019-03-26 10:25:00 1453
原创 numpy array 多维数组判断
numpy array 多维数组判断np.equal 判断每个元素np.array_equal 判断整体是否相同np.equal( [128, 0,0], [0, 0,0] )array([ False, True, True], dtype=bool)np.array_equal( [128, 0,0], [128, 0,0] )True...
2019-03-21 09:51:21 1339
原创 spark报错File does not exist: hdfs://master:9000/sparkhistory
spark报错 File does not exist: hdfs://master:9000/sparkhistoryhdfs dfs -mkdir /sparkhistory更多解释详见https://blog.csdn.net/zmc921/article/details/80338267
2019-02-12 10:38:27 5221
原创 linux系统下解压缩
linux系统下解压缩gzipgzip -d shic_jjj_iso_result_02.csv.gzzipunzip shic_cp_result_01_rand.zip -d ./01-1
2019-02-12 10:20:36 958
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人