part1数据探索及数据处理 数据处理 # 复制原数据 df3 = df.copy() df3.info() <class 'pandas.core.frame.DataFrame'> RangeIndex: 3004 entries, 0 to 3003 Data columns (total 7 ...
分类:
其他好文 时间:
2021-06-02 20:25:18
阅读次数:
0
I am in a bit of a bind (pun intended). I have a ubuntu server running kafka & zookeeper. This server has both ipv4 and ipv6 protocols installed. In t ...
分类:
其他好文 时间:
2021-06-02 12:29:05
阅读次数:
0
超过最大分片引起的,在es机器上执行:curl -XPUT -H "Content-Type:application/json" -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://es-host:9200/_c ...
分类:
其他好文 时间:
2021-05-25 17:41:51
阅读次数:
0
reduce语法 array.reduce(function(total, currentValue, currentIndex, arr), initialValue); 参数描述 total 必需。初始值, 或者计算结束后的返回值。 currentValue 必需。当前元素 currentInd ...
分类:
Web程序 时间:
2021-05-24 16:04:18
阅读次数:
0
nginx version: openresty/1.19.3.1 built by gcc 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC) built with OpenSSL 1.1.1h 22 Sep 2020 (running with OpenSSL 1.1. ...
分类:
其他好文 时间:
2021-05-24 09:34:56
阅读次数:
0
官方文档:https://redis.io/commands/info info主要有一下几项,因版本不同可能略有差别 server clients memory persistence stats replication cpu keyspace 172.21.194.205:6381> info ...
分类:
其他好文 时间:
2021-05-24 07:56:28
阅读次数:
0
在使用 docker 的过程中,我们可以使用docker restart {container_id}来重启容器,但是在 kubernetes 中并没有重启命令(没有 kubectl restart {podname}),有时候我们的 Pod 出现 Bug意外终止,导致我们需要重启 Pod ,却没有 ...
分类:
其他好文 时间:
2021-05-24 07:38:57
阅读次数:
0
线程的概念 线程的组成: 栈区和栈区指针 程序计数器:PC 寄存器集合 线程的状态: 新建状态(New):刚被创建 准备状态(Runnable):加载所需的所有资源,等待CPU 运行状态(Running):被CPU执行 挂起状态(Blocked):阻塞,等待唤醒 线程和进程的区别: 1. 进程是资源 ...
分类:
编程语言 时间:
2021-05-24 04:32:11
阅读次数:
0
定义一系列的算法,把每一个算法封装起来, 并且使它们可相互替换。 策略模式把对象本身和运算规则区分开来,其功能非常强大,因为这个设计模式本身的核心思想就是面向对象编程的多形性的思想。 原来我们这么写: function computed(method, count) { let total; if ...
分类:
其他好文 时间:
2021-05-24 03:55:28
阅读次数:
0
hdfs dfsadmin -report hadoop fsck -locations ...
分类:
其他好文 时间:
2021-05-24 01:37:15
阅读次数:
0