<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[焦糖花粥]]></title><description><![CDATA[做一个好的程序员]]></description><link>https://blog.csdn.net/Doris2016</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Doris2016]]></copyright><item><title><![CDATA[Jupyter Notebook左侧大纲目录设置]]></title><link>https://blog.csdn.net/Doris2016/article/details/131430256</link><guid>https://blog.csdn.net/Doris2016/article/details/131430256</guid><author>Doris2016</author><pubDate>Wed, 28 Jun 2023 09:45:07 +0800</pubDate><description><![CDATA[在 Jupyter中，可以通过安装jupyter_contrib_nbextensions插件来实现在页面左边显示大纲的功能。]]></description><category></category></item><item><title><![CDATA[Anaconda中Jupyter默认路径修改方法]]></title><link>https://blog.csdn.net/Doris2016/article/details/121403810</link><guid>https://blog.csdn.net/Doris2016/article/details/121403810</guid><author>Doris2016</author><pubDate>Thu, 18 Nov 2021 16:43:31 +0800</pubDate><description><![CDATA[在windows中，安装了Anaconda，使用jupter notebook,配置默认路径如下：

1. 初始化生成配置文件


C:\Users\Demi&gt;jupyter notebook --generate-config

但是却报错了，如下：



问度娘是需要把Anacadon\Library\bin 路径配置到环境变量中。
.........]]></description><category></category></item><item><title><![CDATA[navicat 从excel导入数据到oracle 日期显示问题]]></title><link>https://blog.csdn.net/Doris2016/article/details/119825772</link><guid>https://blog.csdn.net/Doris2016/article/details/119825772</guid><author>Doris2016</author><pubDate>Fri, 20 Aug 2021 16:28:17 +0800</pubDate><description><![CDATA[oracle数据库表PRJT_INFO字段CREATE_TIME为date类型。用navicat从excel导入后就显示为1900-01-01 12:23:34。

然后用网上的办法，先把数据库的字段改为字符型，然后再从excel导入。显示就正确了，然后把数据类型改为DATE，就报错了。



但是这种方法适合于mysql和postgrel这种数据库，Oracle就不行，所以又试了其他的办法。


 --将原字段名CREATE_TIME修改为CREATE_TIME_TMP 
 alter table P..]]></description><category></category></item><item><title><![CDATA[一个汉字在不同的字符集中所占的长度]]></title><link>https://blog.csdn.net/Doris2016/article/details/119816765</link><guid>https://blog.csdn.net/Doris2016/article/details/119816765</guid><author>Doris2016</author><pubDate>Fri, 20 Aug 2021 09:53:45 +0800</pubDate><description><![CDATA[英文字母和中文汉字在不同字符集编码下的字节数
英文字母：
字节数 : 1;编码：GB2312
字节数 : 1;编码：GBK
字节数 : 1;编码：GB18030
字节数 : 1;编码：ISO-8859-1
字节数 : 1;编码：UTF-8
字节数 : 4;编码：UTF-16
字节数 : 2;编码：UTF-16BE
字节数 : 2;编码：UTF-16LE

中文汉字：
字节数 : 2;编码：GB2312
字节数 : 2;编码：GBK
字节数 : 2;编码：GB18030
字节数 : 1;编码：ISO-885.]]></description><category></category></item><item><title><![CDATA[MySQL dump导入导出数据文件]]></title><link>https://blog.csdn.net/Doris2016/article/details/119538156</link><guid>https://blog.csdn.net/Doris2016/article/details/119538156</guid><author>Doris2016</author><pubDate>Mon, 09 Aug 2021 15:27:04 +0800</pubDate><description><![CDATA[启动mysql服务


service mysql start

进入mysql的操作：


linux-ho03:/home/snsh/data # mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.4.3-beta-community-log MySQL Community Se]]></description><category></category></item><item><title><![CDATA[MySQL 5.6 安装步骤]]></title><link>https://blog.csdn.net/Doris2016/article/details/119513190</link><guid>https://blog.csdn.net/Doris2016/article/details/119513190</guid><author>Doris2016</author><pubDate>Sun, 08 Aug 2021 12:36:29 +0800</pubDate><description><![CDATA[转载自https://www.cnblogs.com/zsg88/p/7533437.html

1.下载MySQL Community Server 5.6.37

https://dev.mysql.com/downloads/mysql/5.6.html#downloads







2.解压MySQL压缩包

将以下载的MySQL压缩包解压到自定义目录下。例如 D:\Program Files\mysql-5.6.37-winx64



3.添加环境变量

我的电脑---属性---高级---.]]></description><category></category></item><item><title><![CDATA[Oracle 查看锁定表及解锁]]></title><link>https://blog.csdn.net/Doris2016/article/details/119489171</link><guid>https://blog.csdn.net/Doris2016/article/details/119489171</guid><author>Doris2016</author><pubDate>Sat, 07 Aug 2021 16:55:36 +0800</pubDate><description><![CDATA[ORACLE表被锁原因：EBS操作某一个FORM界面，或者后台数据库操作某一个表时发现一直出于"假死"状态，可能是该表被某一用户锁定，导致其他用户无法继续操作

--查询被锁的表

select b.owner,b.object_name,a.session_id,a.locked_mode from v$locked_object a,dba_objects b where b.object_id = a.object_id;

--查看是哪个session引起的

select b.username,.]]></description><category></category></item><item><title><![CDATA[Oracle 查看和创建表空间]]></title><link>https://blog.csdn.net/Doris2016/article/details/119102814</link><guid>https://blog.csdn.net/Doris2016/article/details/119102814</guid><author>Doris2016</author><pubDate>Mon, 26 Jul 2021 09:58:42 +0800</pubDate><description><![CDATA[查看已经创建的表空间


select * from dba_data_files;

创建表空间


一般是创建一个主题表空间，对应一个索引表空间
CREATE SMALLFILE TABLESPACE TS_IDX_SETTLEMAG
DATAFILE '/u01/app/oracle/oradata/IRIDB/C1F471CBE7B80559E0537800A8C0EB2A/datafile/TS_IDX_SETTLEMAG.dbf' SIZE 8g
REUSE LOGGING 
EXTENT M.]]></description><category></category></item><item><title><![CDATA[Oracle 日期时间函数大全]]></title><link>https://blog.csdn.net/Doris2016/article/details/118362336</link><guid>https://blog.csdn.net/Doris2016/article/details/118362336</guid><author>Doris2016</author><pubDate>Wed, 30 Jun 2021 16:54:17 +0800</pubDate><description><![CDATA[前言 设置日期语言




 alter session set NLS_DATE_LANGUAGE='AMERICAN';
--也可以这样写：
 
to_date('2021-06-30 15:23:45','yyyy-mm-dd hh24:mi:ss',NLS_DATE_LANGUAGE='AMERICAN' ) 



一、日期格式

以 2021-06-30 15:36:23 为例


			格式
			类型
			名称
			示例
		年（Year）
			yy
			two digits
	..]]></description><category></category></item><item><title><![CDATA[Oracle 包已编译但有错误，命令行不提示错误]]></title><link>https://blog.csdn.net/Doris2016/article/details/118356617</link><guid>https://blog.csdn.net/Doris2016/article/details/118356617</guid><author>Doris2016</author><pubDate>Wed, 30 Jun 2021 11:09:55 +0800</pubDate><description><![CDATA[创建了一个包，执行成功了但是没报错。但是调用的时候就报错了：



显示包无效。

然后重新编译包，显示：包已编译，但是有错误。



创建包的PL/SQL如下：


-------创建一个包，这个包里包含一个记录变量deptrec,两个函数和一个过程 
--创建包定义
create or replace package demo_pack
is 
       deptrec dept%rowtype;
       v_sqlcode number;
       v_sqlerr  varchar2.]]></description><category></category></item><item><title><![CDATA[Oracle ORA-06550 PLS-00905 存储过程调用报错]]></title><link>https://blog.csdn.net/Doris2016/article/details/118343251</link><guid>https://blog.csdn.net/Doris2016/article/details/118343251</guid><author>Doris2016</author><pubDate>Tue, 29 Jun 2021 20:31:40 +0800</pubDate><description><![CDATA[创建了一个存储过程，创建成功了没有报错，但是在调用的时候就报错了。报错如下：



存储过程及调用如下：



然后在PL/SQL Developer的左侧，去重新编译存储过程，就报错了：



经检查，发现存储过程中少了两个 分号。哈哈，，，，改过后，再执行就没有错了。
...]]></description><category></category></item><item><title><![CDATA[SQL Server删除登录用户]]></title><link>https://blog.csdn.net/Doris2016/article/details/118176825</link><guid>https://blog.csdn.net/Doris2016/article/details/118176825</guid><author>Doris2016</author><pubDate>Thu, 24 Jun 2021 09:32:20 +0800</pubDate><description><![CDATA[登录名 右键删除即可



2. 使用T-SQL语句删除

drop user DBAdmin

drop login DBAdmin
]]></description><category></category></item><item><title><![CDATA[SQL Server中的表值型参数]]></title><link>https://blog.csdn.net/Doris2016/article/details/118156206</link><guid>https://blog.csdn.net/Doris2016/article/details/118156206</guid><author>Doris2016</author><pubDate>Wed, 23 Jun 2021 18:14:15 +0800</pubDate><description><![CDATA[表值型参数（Table-valued parameters) 是SQL Server从2008版开始引入的一种特性，是一种内置方式，让客户端应用或应用程序可以只通过单独的一条参数化SQL语句，就可以向SQL Server发送多行数据。

这已功能的基础是SQL Server2008中最新的用户自定义表类型（User-Defined Table Types),允许用户将表帝国一注册为全局数据类型，注册之后，这些表类型可以像本地变量一样用于批处理中，以及存储过程的函数体中，很像早期版本中通用表变量的强类型化版本]]></description><category></category></item><item><title><![CDATA[ADO,OLEDB,ODBC,DAO的区别]]></title><link>https://blog.csdn.net/Doris2016/article/details/118056955</link><guid>https://blog.csdn.net/Doris2016/article/details/118056955</guid><author>Doris2016</author><pubDate>Sat, 19 Jun 2021 17:46:22 +0800</pubDate><description><![CDATA[转载自https://blog.csdn.net/ithomer/article/details/6624684


]]></description><category></category></item><item><title><![CDATA[SQL Server 定义了主键，没有定义名字，如何找到这个主键]]></title><link>https://blog.csdn.net/Doris2016/article/details/118003832</link><guid>https://blog.csdn.net/Doris2016/article/details/118003832</guid><author>Doris2016</author><pubDate>Thu, 17 Jun 2021 23:10:00 +0800</pubDate><description><![CDATA[先看两个表


create table customers(
c_id int primary key,
c_name varchar(50) ,
c_contact varchar(50), 
c_city varchar(50),
c_birth datetime 
) 


]]></description><category></category></item><item><title><![CDATA[SQL Server计算一年中的第几周]]></title><link>https://blog.csdn.net/Doris2016/article/details/117899237</link><guid>https://blog.csdn.net/Doris2016/article/details/117899237</guid><author>Doris2016</author><pubDate>Mon, 14 Jun 2021 13:37:02 +0800</pubDate><description><![CDATA[一、计算一年中的第几天DATE

首先呢，SQL Server自带的有一个函数datename(dayofyear,'2021-06-14')可以计算出一年中的第几天。
]]></description><category></category></item><item><title><![CDATA[使用finalshell出现的问题]]></title><link>https://blog.csdn.net/Doris2016/article/details/109609837</link><guid>https://blog.csdn.net/Doris2016/article/details/109609837</guid><author>Doris2016</author><pubDate>Tue, 10 Nov 2020 23:52:35 +0800</pubDate><description><![CDATA[问题1 连接不成功

FinalShell 连接错误：
认证失败
连接成功
channel is not opened.

解决：
修改文件位置：vi /etc/ssh/sshd_config
把
#UseDNS yes
修改为
UseDNS no
然后，重启ssh服务
systemctl restart sshd

问题2：打开后没反应，界面出不来



在小黑裙中运行 java -jar finallshell.jar



然后重启finallshell客户端，就可以看见问价了。


...]]></description><category></category></item><item><title><![CDATA[pandas 处理数据节省内存的方法]]></title><link>https://blog.csdn.net/Doris2016/article/details/109355677</link><guid>https://blog.csdn.net/Doris2016/article/details/109355677</guid><author>Doris2016</author><pubDate>Thu, 29 Oct 2020 11:34:24 +0800</pubDate><description><![CDATA[python pandas处理大数据节省内存的方法

数值类型的列进行降级处理
	字符串类型的列转化为类别类型（category）
	字符串类型的列的类别数超过总行数的一半时，建议使用object类型
	
	
'''
减少内存的使用
'''
def reduce_mem_usage(df, verbose=True):
    numerics = ['int16', 'int32', 'int64', 'float16', 'float32', 'float64', 'object']
    start]]></description><category></category></item><item><title><![CDATA[【sklearn】数据拆分方法汇总]]></title><link>https://blog.csdn.net/Doris2016/article/details/109032047</link><guid>https://blog.csdn.net/Doris2016/article/details/109032047</guid><author>Doris2016</author><pubDate>Mon, 12 Oct 2020 17:35:04 +0800</pubDate><description><![CDATA[原理介绍

K折交叉验证：

KFold，GroupKFold，StratifiedKFold，



留一法：

LeaveOneGroupOut，LeavePGroupsOut，LeaveOneOut，LeavePOut，



随机划分法：

ShuffleSplit，GroupShuffleSplit，StratifiedShuffleSplit，







代码实现

流程：

实例化分类器 -&gt; 迭代器迭代组[.split()]

KFold(n_splits=2)


#KFo...]]></description><category></category></item><item><title><![CDATA[【MySQL】PDD数据分析笔试题]]></title><link>https://blog.csdn.net/Doris2016/article/details/108914135</link><guid>https://blog.csdn.net/Doris2016/article/details/108914135</guid><author>Doris2016</author><pubDate>Sat, 03 Oct 2020 23:25:13 +0800</pubDate><description><![CDATA[转载自https://www.cnblogs.com/hider/p/12642452.html

https://blog.csdn.net/SeizeeveryDay/article/details/105424385

第一部分：SQL查询

一、活动运营数据分析

表1：订单表orders，大概字段有（user_id‘用户编号’, order_pay‘订单金额’ , order_time‘下单时间’）

表2：活动报名表act_apply，大概字段有（act_id‘活动编号’, user_id...]]></description><category></category></item></channel></rss>