- 博客(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
1534
原创 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
1415
原创 spark报错File does not exist: hdfs://master:9000/sparkhistory
spark报错 File does not exist: hdfs://master:9000/sparkhistory hdfs dfs -mkdir /sparkhistory 更多解释详见 https://blog.youkuaiyun.com/zmc921/article/details/80338267
2019-02-12 10:38:27
5500
原创 linux系统下解压缩
linux系统下解压缩 gzip gzip -d shic_jjj_iso_result_02.csv.gz zip unzip shic_cp_result_01_rand.zip -d ./01-1
2019-02-12 10:20:36
1014
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅