delete from 表名 a where 列名 in ( select t.列名 from (select 列名 ,count(*) from 表名 where 列名 is not null group by 列名 having count(*) > 1) t ) ...
分类:
其他好文 时间:
2021-05-24 02:01:44
阅读次数:
0
POJ 1005 - I Think I Need a Houseboat Description Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process o ...
分类:
其他好文 时间:
2021-05-24 00:42:36
阅读次数:
0
使用云服务器git clone某个项目时,遇到如下问题: fatal: Out of memory, malloc failed (tried to allocate 2000000000 bytes) 百度后找到如下解决方法: sudo mkdir -p /opt/temp sudo dd if= ...
分类:
其他好文 时间:
2021-05-24 00:26:08
阅读次数:
0
解决RuntimeError: you must first build vocabulary before training the model错误 查找解决方案,意思就是说你的数据集中的数量过少,解决方案有两种,扩大数据集的数量、另一个就是更改min_count的值例如:如果太少的话可以更改为 ...
分类:
其他好文 时间:
2021-05-23 23:49:16
阅读次数:
0
from openpyxl import load_workbook import smtplib from email.mime.text import MIMEText # 邮件正文 from email.header import Header # 邮件头 # 加载excel 文件 wb = ...
分类:
其他好文 时间:
2021-05-04 16:06:39
阅读次数:
0
简介 CAS的全称是compare and swap,它是java同步类的基础,java.util.concurrent中的同步类基本上都是使用CAS来实现其原子性的。 CAS的原理其实很简单,为了保证在多线程环境下我们的更新是符合预期的,或者说一个线程在更新某个对象的时候,没有其他的线程对该对象进 ...
分类:
其他好文 时间:
2021-05-03 12:24:38
阅读次数:
0
pi表示在信息熵部分中有介绍,如下图中介绍 选择最小的那个0.3 #整个c4.5决策树的所有算法: import numpy as np import operator def creatDataSet(): """ outlook-> 0:sunny | 1:overcast | 2:rain t ...
分类:
其他好文 时间:
2021-05-03 12:13:28
阅读次数:
0
前言 有时候调用API时,会出现嵌套json(Json数组)的情况,这时如果使用fastjson就可以很快的进行解析。 例子 { "status": "1", "info": "OK", "infocode": "10000", "count": "1", "geocodes": [ { "form ...
分类:
编程语言 时间:
2021-05-03 11:41:00
阅读次数:
0
adb连接安卓设备失败failed to start daemon Reference:https://blog.csdn.net/whshuo2010/article/details/51094495?locationNum=8 背景 连接设备后,使用adb devices命令查看目前连接的设备, ...
分类:
移动开发 时间:
2021-05-03 11:40:13
阅读次数:
0
一、循环嵌套 1. 下列代码的运行结果是( ) public static void main(String[] args){ int count = 0; for(int j = 0;j<3;j++) { for(int i = 0;i<6;i++) { count++; } } System.o ...
分类:
编程语言 时间:
2021-04-30 12:15:08
阅读次数:
0