SpringBootApplication默认扫描当前包以及子包的所有类,如下所示,SpringBootApplication 注解与User在同一级,无法获取User的bean: pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xml ...
分类:
移动开发 时间:
2019-11-23 20:29:15
阅读次数:
129
This is a problem given in the Graduate Entrance Exam in 2018: Which of the following is NOT a topological order obtained from the given directed grap ...
分类:
其他好文 时间:
2019-11-22 00:54:12
阅读次数:
59
处理数据的时候往往需要对原始数据进行类型转换和预览等操作,下面介绍常用的处理预览和数据转换方法 预览:例: import pandas as pdsec_weather = pd.read_table(r'D:\weather.csv',sep=',')sec_weather.head() 如果只需 ...
分类:
其他好文 时间:
2019-11-21 11:58:39
阅读次数:
114
choosetwoEvalutetheseconmandswhichexecatesucestullyCREATESEQUENCEord_seqINCREMENTBY1STARTWITH1MAXVALUE100000CYCLECACHE5000;WhichtwostatementsaretrueatouttheORD_ITEMStableandtheORD_SEQsequence?A)Anyuse
分类:
其他好文 时间:
2019-11-19 09:15:16
阅读次数:
56
文本分析概念 停用词 语料中大量出现, 无用数据, 如下类似的这种词语 Tf - 词频统计 TF 的计算方式有很多, 最常见的用 某词文章中出现次数 / 文章总词数 idf - 逆文档频率 TF - idf 关键词提取 相似度 分词 语料库 词频 词频向量 整体流程 语料清洗 (去掉停用词, 去掉大 ...
分类:
其他好文 时间:
2019-11-18 16:56:51
阅读次数:
240
os模块 os模块 os模块负责程序与操作系统的交互,提供了访问操作系统底层的接口,多用于文件处理。 方法详解 os.getcwd() 获取当前工作目录,即当前python脚本工作的目录路径 os.chdir("dirname") 改变当前脚本工作目录;相当于shell下cd os.curdir 返 ...
分类:
其他好文 时间:
2019-11-18 09:22:02
阅读次数:
83
Python split() 通过指定分隔符对字符串进行切片 切片之后为list数据类型。 sentence = 'I can because I think I can ' s_1 = sentence.split(sep=' ', maxsplit=2) s_2 = sentence.split ...
分类:
其他好文 时间:
2019-11-16 16:09:38
阅读次数:
75
1.先用vue-cli3创建一个项目 2.安装element模块 全局安装 npm i element-ui -S 3在main.js引入模块 import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.c ...
分类:
其他好文 时间:
2019-11-12 20:21:52
阅读次数:
130