
Python基础
Python 学习
活到老学到老
WPP7
这个作者很懒,什么都没留下…
展开
-
卡方检验 R语言 & Python
用 R 语言或者 Python 运算 卡方检验 mytable R #使用vcd包 install.packages('vcd') library(vcd) #生成列联表格式 mytable <- matrix(c(23,45,15,96),2,2,byrow=T) #卡方检验 chisq.test(mytable,correct=F) # Result Pearson's Chi-squared test data: mytable X-sq原创 2020-10-20 21:04:46 · 588 阅读 · 2 评论 -
【Python】 matplotlib.pyplot.plt 调参整理
【Python】 matplotlib.pyplot 调参大汇总 导入模块,并创建一个图纸 import matplotlib.pyplot as plt f, (ax) = plt.subplots(figsize = (35,20)) # figsize 图纸尺寸 调用 plt.rcParams.keys() ,获取rcParams的全部参数以及默认值。 plt.rcParams.keys() KeysView(RcParams({'_internal.classi原创 2020-09-15 15:20:14 · 1638 阅读 · 0 评论