Actor模型的理念: 所有对象皆是Actor,Actor之间仅通过Message Passing来通信,所有操作都是异步的,使得整个系统获得大规模的并发能力。 Actor消息内容,一般包括几个主要属性: source:发送方 subject:主题,表明消息类型。 data:消息内容。 Actor收 ...
分类:
其他好文 时间:
2021-06-06 19:34:39
阅读次数:
0
1. 使用 drop_duplicates 去重 1.1 初始化数据 df = pd.DataFrame({'stu_name': ['Tom', 'Tony', 'Jack', 'Jack', np.nan], 'stu_age': [16, 16, 15, np.nan, 21]}) stu_n ...
分类:
其他好文 时间:
2021-06-06 19:31:16
阅读次数:
0
###Oracle Instant Client下载 下载地址: https://www.oracle.com/cn/database/technology/instant-client.html 根据需要选择对应的版本,下载所需的软件包 以我为例,我选择的是适用于 Linux x86-64(64 ...
分类:
系统相关 时间:
2021-06-06 19:21:46
阅读次数:
0
推荐博客:https://my.oschina.net/attacker/blog/3038174 bypy模块安装 pip install bypy # python pip包管理 登录 bypy info 通过浏览器visit地址,填入Python客户端授权码 上传 下载 先将大文件 移动到 我 ...
分类:
系统相关 时间:
2021-06-06 19:13:08
阅读次数:
0
shutdown和close都可以用来关闭TCP连接, 那么它们有区别与联系呢? 下面来研究下这个问题: 1. close 关闭连接和套接字. 成功返回0; 失败为-1, errno被设置 #include <unistd.h> int close(int fd); close会把描述符(sockf ...
分类:
系统相关 时间:
2021-06-06 19:09:08
阅读次数:
0
1.pandas df 与 spark df的相互转换 df_s=spark.createDataFrame(df_p) df_p=df_s.toPandas() 2. Spark与Pandas中DataFrame对比 http://www.lining0806.com/spark%E4%B8%8E ...
分类:
其他好文 时间:
2021-06-06 19:08:07
阅读次数:
0
一、简介 cgroups 的全称是control groups,是Linux内核提供的一种可以限制、记录、隔离进程组所使用的物理资源(包括:CPU、memory、IO等),可以对 cpu,内存等资源实现精细化的控制,目前越来越火的轻量级容器 Docker 就使用了 cgroups 提供的资源限制能力 ...
分类:
其他好文 时间:
2021-06-06 19:06:23
阅读次数:
0
Python3 pandas DataFrame 基本功能讲解 import pandas as pd 导入库 df = pd.DataFrame(data=None, index=None, columns=None, dtype=None, copy=False) 创建一个DataFrame 代 ...
分类:
编程语言 时间:
2021-06-06 18:58:17
阅读次数:
0
1、下载 https://downloads.mysql.com/archives/community/ wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.5.62-linux-glibc2.12-x86_64.tar.g ...
分类:
系统相关 时间:
2021-06-06 18:56:23
阅读次数:
0
Preliminaries Linux Basics Change Password: passwd shutdown: sudo shutdown -h 3 (broadcast to all users in 3 mins) reboot: sudo reboot -r now create a ...
分类:
其他好文 时间:
2021-06-06 18:53:34
阅读次数:
0