06 2020 档案

摘要:library(package="car") data <- read.csv("C:\\users\\mike1\\desktop\\data\\RData\\hald水泥数据.csv", header=T, sep=",",fileEncoding = "utf-8", stringsAsFac 阅读全文
posted @ 2020-06-30 23:58 看星星的派大星 阅读(2983) 评论(0) 推荐(0) 编辑
摘要:可能是文本不是用utf-8编码的 用这种方法:encoding = "unicode_escape" 并不可取,如果是中文文本的话会把中文全去掉。 可以将文本先通过另存为,存为utf-8格式,然后在用python 打开 阅读全文
posted @ 2020-06-29 12:50 看星星的派大星 阅读(930) 评论(0) 推荐(0) 编辑
摘要:第一步: 第二步: 第三步: 第四步: 即可打开.py文件 阅读全文
posted @ 2020-06-29 12:46 看星星的派大星 阅读(172) 评论(0) 推荐(0) 编辑
摘要:1、下载R包, 登录R官网 scran >packages >tar.gz >by name 2、直接写出函数名 3、page("函数名") 4、在Rstudio 右侧help输入函数名 5、method("类名") >类名.函数 安装包的命令: install.packages() 阅读全文
posted @ 2020-06-27 23:24 看星星的派大星 阅读(936) 评论(0) 推荐(0) 编辑
摘要:from matplotlib import pyplot as plt x = [0,1] y = [5,10] x_2 = [0,1] y_2 = [7,17] x_ticks = ["low","hight"] plt.figure(figsize=(20,8),dpi=80) plt.xti 阅读全文
posted @ 2020-06-12 00:14 看星星的派大星 阅读(446) 评论(0) 推荐(0) 编辑