2019年6月3日

oracle 分组拼接

摘要: 方法一:listagg, 参考链接,从oracle11g后出现的新函数 如果拼接的字符串长度超过4000字节,会报ora-01489错误,ora-01489 字符串连接的结果过长 解决方案。 SELECT id,count(name) as countname, LISTAGG(to_char(na 阅读全文

posted @ 2019-06-03 16:37 iUpoint 阅读(5000) 评论(0) 推荐(0) 编辑

2019年5月30日

python安装包及批量更新包

摘要: python安装包 批量下载及安装包 批量下载安装包: pip download -d save_path(下载包保存的地址) -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ 批量安装包: pip install -- 阅读全文

posted @ 2019-05-30 11:06 iUpoint 阅读(521) 评论(0) 推荐(0) 编辑

基于 lstm 的股票收盘价预测 -- python

摘要: 开始导入 MinMaxScaler 时会报错 “from . import _arpack ImportError: DLL load failed: 找不到指定的程序。” (把sklearn更新下)和“AttributeError: module 'numpy' has no attribute 阅读全文

posted @ 2019-05-30 10:53 iUpoint 阅读(1964) 评论(0) 推荐(0) 编辑

遗传算法求解旅行商(TSP)问题 -- python

摘要: 参考资料: 遗传算法解决TSP旅行商问题(附:Python实现) 遗传算法详解(GA)(个人觉得很形象,很适合初学者) 阅读全文

posted @ 2019-05-30 09:45 iUpoint 阅读(5428) 评论(0) 推荐(0) 编辑

2019年5月29日

office 小技巧

摘要: 1. 数据匹配 VLOOKUP 例一:如图,将左表(sheet1)的e列关联到右表(sheet2),条件为: sheet2.字段名 = sheet1.D 公式:=VLOOKUP(sheet2!D2:D653, sheet1!D$1:E$528, 2, 0) #最好固定检索区间,否则可能出现部分没关联 阅读全文

posted @ 2019-05-29 13:31 iUpoint 阅读(234) 评论(0) 推荐(0) 编辑

2019年5月28日

oracle创建dblink

摘要: 当用户要跨本地数据库,访问另外一个数据库表中的数据时,本地数据库中必须创建了远程数据库的dblink,通过dblink本地数据库可以像访问本地数据库一样访问远程数据库表中的数据。下面讲介绍我之前项目中如何在本地数据库中创建dblink. 注意:密码最好用双引号引起来,否则可能在连接的时候报错(ORA 阅读全文

posted @ 2019-05-28 14:23 iUpoint 阅读(178) 评论(0) 推荐(0) 编辑

2019年5月27日

python 连接oracle -- sqlalchemy及cx_Oracle的使用详解

摘要: python连接oracle -- sqlalchemy python连接oracle -- cx_Oracle cx_oracle 使用 oracle 数据库表字段的缺失值统计 -- 基于python cx_Oracle模块的安装和使用 看下连接oracle的各种方式 定义ConnectOracl 阅读全文

posted @ 2019-05-27 17:47 iUpoint 阅读(9845) 评论(0) 推荐(0) 编辑

2019年5月24日

oracle 数据库下所有表结构、数据量及缺失值统计

摘要: 查用户表 select * from all_tab_comments --查询所有用户的表,视图等。 select * from all_col_comments --查询所有用户的表的列名和注释。 select * from all_tab_columns --查询所有用户的表的列名等信息。 s 阅读全文

posted @ 2019-05-24 11:05 iUpoint 阅读(786) 评论(0) 推荐(0) 编辑

python 读写.tar.gz文件 -- UnicodeDecodeError

摘要: 在用pip install 安装库的时候,偶尔会出现编码错误(如:UnicodeDecodeError: 'gbk' codec can't decode byte),对此我们可先将包下载下来(一般为.tar.gz格式),然后修改其中的错误代码,再执行本地安装即可。 参考资料: python tar 阅读全文

posted @ 2019-05-24 00:56 iUpoint 阅读(2775) 评论(0) 推荐(0) 编辑

2019年5月20日

python 画小猪佩奇

摘要: 转自:python画个小猪佩奇 阅读全文

posted @ 2019-05-20 13:22 iUpoint 阅读(252) 评论(0) 推荐(0) 编辑

导航