上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
摘要: 1、通过按钮获取单元格所在的值 debugger; var cr; if(window.lineboxes) { var cells = []; for (var i = 0; i < lineboxes.length; i++) { if (lineboxes[i].selected()) { c 阅读全文
posted @ 2019-10-19 10:16 ARYOUOK 阅读(5166) 评论(0) 推荐(0)
摘要: function convertDateFromString(dateString) { if (dateString) { var date = new Date(dateString.replace(/-/, "/")) return date; } } var a=this.options.f 阅读全文
posted @ 2019-10-15 14:56 ARYOUOK 阅读(2476) 评论(0) 推荐(1)
摘要: # coding:utf-8 import pandas as pd import numpy as np # path = r'C:\Users\wuzaipei\Desktop\签到.xlsx' # # data = pd.read_excel(path,header=0) df=pd.Data 阅读全文
posted @ 2019-10-12 22:57 ARYOUOK 阅读(1022) 评论(0) 推荐(0)
摘要: 1、代码:主要写入时表要为小写,否则报错 Could not reflect: requested table(s) not available in Engine from sqlalchemy import create_engine conn_string='oracle+cx_oracle: 阅读全文
posted @ 2019-09-28 15:46 ARYOUOK 阅读(4483) 评论(0) 推荐(0)
摘要: 1、没什么难的操作 安装 pip install pymssql import pymssql #引入pymssql模块 import pandas as pd def conn(): connect = pymssql.connect('172.16.1.79','admin','admin',' 阅读全文
posted @ 2019-09-26 21:46 ARYOUOK 阅读(7244) 评论(0) 推荐(0)
摘要: 1、 安装 cx_Oracle pip install cx_Oracle 2、配置 oci.dll 与 oraociei11.dll 添加到环境变量path中 下载地址:百度搜索下载,Oracle PLSQL 进行下载 3、连接步骤 # coding:utf-8 import pandas as 阅读全文
posted @ 2019-09-26 20:34 ARYOUOK 阅读(983) 评论(0) 推荐(0)
摘要: 1、Oracle 查看表空间 SELECT b.comments as 注释, a.column_name as 列名, a.data_type || '(' || a.data_length || ')' as 数据类型, a.nullable as 是否为空 FROM user_tab_colu 阅读全文
posted @ 2019-09-26 13:20 ARYOUOK 阅读(849) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/lpwmm/article/details/79701881 阅读全文
posted @ 2019-09-26 11:25 ARYOUOK 阅读(705) 评论(0) 推荐(0)
摘要: --插入语句 INSERT INTO OA_W_BAOXIAOMXYWB (ID,DONGTAITABLEPARENTSN,CHANPINNAMEGKFK,CHANPINJITIGKFK,CHANPINJINEGKFK) VALUES --(100001,'费用报销申请20193731','产品列表 阅读全文
posted @ 2019-09-26 09:12 ARYOUOK 阅读(514) 评论(0) 推荐(0)
摘要: 1、行转列 SELECT STU_NAME,TERM,ZHANBI,COURSE_MARK FROM (SELECT '罗飞' STU_NAME, '2001-2002' TERM, '90' 微积分, '88' 线性代数, '85' 数据结构, '70' 操作系统 FROM DUAL) UNPIV 阅读全文
posted @ 2019-09-06 22:41 ARYOUOK 阅读(308) 评论(0) 推荐(0)
摘要: 1、字符串分割 SELECT DISTINCT INSTR('父组件/子组件/零件','/',-1) 匹配返回的字符串位置, -- 返回的是 list LENGTH('父组件/子组件/零件') 字符串长度, SUBSTR('父组件/子组件/零件',INSTR('父组件/子组件/零件','/',-1) 阅读全文
posted @ 2019-09-02 15:21 ARYOUOK 阅读(2184) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-08-30 14:42 ARYOUOK 阅读(250) 评论(0) 推荐(0)
摘要: 1、测试两个算法 #coding:utf-8 import time import numba import numpy as np ''' 使用numba加速总结, (1)、在数值计算比如int float double等类型计算时 使用numba进行加速,速度可加快,string类型数据不能使用 阅读全文
posted @ 2019-08-29 23:03 ARYOUOK 阅读(335) 评论(0) 推荐(0)
摘要: SELECT 某一列, COUNT( 某一列 ) FROM 表 GROUP BY 某一列 HAVING COUNT( 某一列 ) 〉1 阅读全文
posted @ 2019-08-29 16:37 ARYOUOK 阅读(1629) 评论(0) 推荐(0)
摘要: 1、正则匹配 select CONCAT(TO_NUMBER(REGEXP_REPLACE('019年','[^0-9]')),'年') from dual; 阅读全文
posted @ 2019-08-28 17:17 ARYOUOK 阅读(689) 评论(0) 推荐(0)
摘要: 1、Torch构建简单的模型 # coding:utf-8 import torch class Net(torch.nn.Module): def __init__(self,img_rgb=3,img_size=32,img_class=13): super(Net, self).__init_ 阅读全文
posted @ 2019-08-24 22:52 ARYOUOK 阅读(805) 评论(0) 推荐(0)
摘要: 1、代码结构 1、创建 第一种 -- Create sequence create sequence SEQ_USERID minvalue 1 maxvalue 999999999999 start with 1 increment by 1 nocache cycle; 第二种 CREATE S 阅读全文
posted @ 2019-08-17 18:55 ARYOUOK 阅读(561) 评论(0) 推荐(0)
摘要: 1、直接奉献代码,后期有入门更新,之前一直在学的是TensorFlow, import torch from torch.autograd import Variable import torch.nn.functional as F import matplotlib.pyplot as plt 阅读全文
posted @ 2019-08-16 22:56 ARYOUOK 阅读(2264) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/2ff8e6f98257 阅读全文
posted @ 2019-08-12 22:29 ARYOUOK 阅读(2219) 评论(0) 推荐(0)
摘要: https://github.com/amdegroot/ssd.pytorch 阅读全文
posted @ 2019-08-10 16:39 ARYOUOK 阅读(387) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/zhaoyini/p/join.html 阅读全文
posted @ 2019-08-09 08:21 ARYOUOK 阅读(274) 评论(0) 推荐(0)
摘要: 1、两种方法如下链接 https://www.cnblogs.com/mtcnn/p/9411683.html 2、第一种方法: # coding: utf-8 # python base64 编解码,转换成Opencv,PIL.Image图片格式 import base64 import io f 阅读全文
posted @ 2019-08-06 21:18 ARYOUOK 阅读(2822) 评论(0) 推荐(0)
摘要: 1、kettle资源丰富:kettle中文网 http://www.kettle.net.cn/category/use?tdsourcetag=s_pctim_aiomsg 阅读全文
posted @ 2019-08-03 11:28 ARYOUOK 阅读(429) 评论(0) 推荐(0)
摘要: 1、下载 mysql8.0 驱动放到 如下目录中 mysql8.0以上的驱动下载链接:mysql-connet-8.0.13 2、配置你连接的数据库 找到如下文件打开编辑 连接信息:下面是我本地的配置 MYSQL8_DB/type=javax.sql.DataSource MYSQL8_DB/dri 阅读全文
posted @ 2019-08-03 11:22 ARYOUOK 阅读(12637) 评论(0) 推荐(3)
摘要: 1、python连接数据库游标 # coding:utf-8 from sqlalchemy import create_engine class connet_databases: def __init__(self): ''' # 初始化数据库连接,使用pymysql模块 # MySQL的用户: 阅读全文
posted @ 2019-08-02 21:58 ARYOUOK 阅读(2721) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页