sudo vim /etc/netplan/50-cloud-init.yaml # This file is generated from information provided by the datasource. Changes # to it will not persist across ...
分类:
系统相关 时间:
2021-05-24 00:04:56
阅读次数:
0
使用线程池的时候,WordNet会出现lazyrender的错误,通过查看一些资料,使用下面的方法去解决: import nltk from nltk.corpus import sentiwordnet as swn # Do this first, that'll do something ev ...
分类:
编程语言 时间:
2021-05-23 23:47:26
阅读次数:
0
from sklearn.metrics import classification_report y_true=[0,1,2,2,2]#真值 y_pred=[0,0,2,2,1]#预测结果 print(classification_report(y_true,y_pred)) ...
分类:
其他好文 时间:
2021-05-23 23:39:17
阅读次数:
0
播放器歌词数据抓取 在api文件夹下创建song.js 设置获取歌曲api import axios from 'axios'; export function getLyric(id) { return axios.get(`/api/lyric?id=${id}`); } 把这个方法封装到com ...
分类:
移动开发 时间:
2021-05-23 23:35:55
阅读次数:
0
引入 Element 你可以引入整个 Element,或是根据需要仅引入部分组件。我们先介绍如何引入完整的 Element。 ¶完整引入:在 main.js 中写入以下内容: import Vue from 'vue'; import ElementUI from 'element-ui'; imp ...
分类:
Web程序 时间:
2021-05-23 23:33:38
阅读次数:
0
分页查询 ★ /* 应用场景:当要显示的数据,一页显示不全,需要分页提交sql请求 语法: select 查询列表 from 表 【join type join 表2 on 连接条件 where 筛选条件 group by 分组字段 having 分组后的筛选 order by 排序的字段】 lim ...
分类:
数据库 时间:
2021-05-23 23:31:34
阅读次数:
0
语法: select 字段|常量|表达式|函数 【from 表】 【where 条件】 union 【all】 select 字段|常量|表达式|函数 【from 表】 【where 条件】 union 【all】 select 字段|常量|表达式|函数 【from 表】 【where 条件】 un ...
分类:
数据库 时间:
2021-05-23 23:31:00
阅读次数:
0
use MustGoHome; --公司注册 if exists(select * from Sysobjects where name='usp_CompanyRegister') drop procedure usp_CompanyRegister; go create procedure us ...
分类:
数据库 时间:
2021-05-23 23:17:14
阅读次数:
0
/* 打开 optimizer_trace,只对本线程有效 */ 0: SET optimizer_trace="enabled=on"; /* @a 保存 Innodb_rows_read 的初始值 */ 1: SELECT VARIABLE_VALUE into @a from performa ...
分类:
编程语言 时间:
2021-05-23 23:10:56
阅读次数:
0
查看所有公式 from openpyxl.utils import FORMULAE print(len(FORMULAE)) print(FORMULAE) # 公式是否存在 print('x' in FORMULAE) # 返回为 True from openpyxl import Workbo ...
分类:
其他好文 时间:
2021-05-23 23:04:01
阅读次数:
0