摘要: df1<-data.frame(id=c(1,2,3,4), value=c(10,20,30,40)) df2<-data.frame(col1=c(1,2,3,4), col2=c(4,3,2,1)) df2[] <- lapply(df2, function(x) { inds <- matc 阅读全文
posted @ 2020-07-29 21:35 emanlee 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 命令比较长时,显示不全(全称,全名),可以用 top -c 阅读全文
posted @ 2020-07-29 20:24 emanlee 阅读(6341) 评论(0) 推荐(0) 编辑
摘要: linux 文件名乱码 文件名出现问号原因:创建文件的批处理文件使用windows编辑的,因为windows的换行是\r\n,而linux换行是\n,出现一些乱码如何处理: 1. linux 批量重名名 2. dos2unix 把Windows文件转换格式 Linux Shell 批量重命名的方法1 阅读全文
posted @ 2020-07-29 09:34 emanlee 阅读(2208) 评论(0) 推荐(0) 编辑
摘要: centos 7 已经自带 python 2.7.15,这里需要安装 python 3 [root@pwm]# pythonPython 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 19:04:19) [GCC 7.3.0] on linux2 第一 阅读全文
posted @ 2020-07-29 08:39 emanlee 阅读(549) 评论(0) 推荐(0) 编辑