首先查看数据形态: 再查看数据类型和非空值的个数与比例 使用SimpleImputer进行填补 默认是用均值进行填补,参数如下: missing_values: 空值的类型。默认np.nan 注意,numpy自带的fillna只能填补np.nan,而此处则可以指定空值的类型。比如 或 strateg ...
分类:
其他好文 时间:
2019-06-07 12:46:42
阅读次数:
154
修改官方文档的错误 运行官方文档中的代码可能会报错(维度不一致): Traceback (most recent call last): File "<stdin>", line 1, in <module> File "e:\Anaconda3\lib\site-packages\torch\nn ...
分类:
其他好文 时间:
2019-06-05 09:50:14
阅读次数:
965
总是莫名其妙被双指针的题卡到,其实双指针的题应该非常简单。 看到是array的题往two pointers上想就差不多了,然后它的核心不是说指针 i 和 j 指向的两个数构成最优解,而是说考虑 i 和 j 指向的其中一个数对答案的贡献,每次利用完throw away就行了。(同理two sum的双指 ...
分类:
其他好文 时间:
2019-06-05 09:49:40
阅读次数:
64
对于select,update,insert,delete这些dml,可这样使用 insert into hnfpy2.cs_thz_lv@jdlk_rac_hainan(id,color,is_can_water)select 1 id,'绿色' color,1 is_can_water from ...
分类:
数据库 时间:
2019-06-04 19:14:46
阅读次数:
135
Lesson outline Lesson outline Here's an overview of what you'll learn to do in this lesson. Documentation links are for reference. Read in multiple st ...
分类:
系统相关 时间:
2019-06-04 09:47:39
阅读次数:
183
描述 Given a m-by-n (0,1)-matrix, of all its submatrices of all 1’s which is the largest? By largest we mean that the submatrix has the most elements. G ...
分类:
其他好文 时间:
2019-06-04 09:26:13
阅读次数:
96
转自:https://blog.csdn.net/u014380165/article/details/88072737 论文:Deformable ConvNets v2: More Deformable, Better Results 论文链接:https://arxiv.org/abs/181 ...
分类:
其他好文 时间:
2019-06-03 14:29:01
阅读次数:
465
Life Forms Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 18777 Accepted: 5530 Description You may have wondered why most extraterrestrial ...
分类:
其他好文 时间:
2019-06-03 14:23:10
阅读次数:
84
C:\Users\k\Desktop\test>python test.py Traceback (most recent call last): File "C:\Users\k\Anaconda3\lib\site-packages\pytesseract\pytesseract.py", li... ...
分类:
Windows程序 时间:
2019-06-02 01:19:13
阅读次数:
1488
"Scrum Meeting博客目录" [Gamma阶段]第五次Scrum Meeting 基本信息 | 名称 | 时间 | 地点 | 时长 | | | | | : | | 第五次Scrum Meeting | 19/05/31 | 大运村寝室6楼 | 30min | 相关工作 | 成员 | 已完成 ...
分类:
其他好文 时间:
2019-06-02 01:10:58
阅读次数:
116