This would allow chaining operations like: pd.read_csv('imdb.txt') .sort(columns='year') .filter(lambda x: x['year']>1990) # < this is missing in Pand ...
分类:
其他好文 时间:
2018-10-31 14:02:56
阅读次数:
324
tensorflow急切执行概述 Eager execution is an imperative, define by run interface where operations are executed immediately as they are called from Python. T ...
最近学习到了Linux驱动章节的课程,对设备的对应驱动的注册有些困惑,看了下发现是把设备的所有操作方法封装到结构体 file_operations 中,这个结构体为所有的设备文件都提供了统一的操作函数接口。然后把这个结构体连同设备的主设备号、名字(没啥用)一起,通过函数 register_chrde ...
分类:
其他好文 时间:
2018-10-27 19:56:49
阅读次数:
194
继续上一章部署。 九、controller-manager部署 9.1 下载二进制文件,参考 第三章 9.2 创建 kube-controller-manager 证书和私钥 hosts 列表包含所有 kube-controller-manager 节点 IP CN 为 system:kube-co ...
分类:
Web程序 时间:
2018-10-25 19:38:28
阅读次数:
228
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get the ...
分类:
系统相关 时间:
2018-10-25 17:08:06
阅读次数:
181
Design a data structure that supports all following operations in average O(1) time. Example: 思路 HashMap + ArrayList 代码 ...
分类:
其他好文 时间:
2018-10-24 10:51:18
阅读次数:
117
Implement a Queue with pop and push operations using concurrency coding. package com.company; import java.util.*; import java.util.concurrent.locks.*;... ...
分类:
其他好文 时间:
2018-10-24 10:43:25
阅读次数:
114
过去一年以来,一批来自欧美的、不墨守陈规的系统管理员和开发人员一直在谈论一个新概念:DevOps。DevOps就是开发(Development)和运维(Operations)这两个领域的合并。(如果没错的话,DevOps还包括产品管理、QA、*winces* 甚至销售等领域) 脱节(The Brok ...
分类:
其他好文 时间:
2018-10-23 01:15:18
阅读次数:
191
类型和运算 (Types and Operations) Introducing Python Object Types 在非正式的意义上, 在 Python 中, 我们用一些东西做事情. "事物" 采取像加法和串联的形式的操作。 "东西" 是指我们执行这些操作的对象。 从更正式的角度来看,在 Py ...
分类:
编程语言 时间:
2018-10-22 22:24:41
阅读次数:
294
Design a data structure that supports the following two operations: search(word) can search a literal word or a regular expression string containing o ...
分类:
其他好文 时间:
2018-10-18 16:51:02
阅读次数:
177