> Note: This package is in the dangerous land of `0.x.y` versions and may be subject to breaking
> changes with minor version increments.
# nr.stream
Provides the `Stream` class with useful helper methods. All methods are both instance and class
methods at the same time.
## Example
```py
from nr.stream import Stream
values = [3, 6, 4, 7, 1, 2, 5]
assert list(Stream.chunks(values, 3, fill=0).map(sum)) == [13, 10, 5]
```
---
<p align="center">Copyright © 2020 Niklas Rosenstein</p>
PyPI 官网下载 | nr.stream-0.0.5.tar.gz
版权申诉
92 浏览量
2022-01-28
22:17:41
上传
评论
收藏 6KB GZ 举报
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
最新资源
- 基于matlab实现 powell算法 用matlab实现,使用方法内附详细说明.rar
- 基于matlab的手写字体识别程序,并对结果进行保存.rar
- 基于c语言指纹识别demo代码 包括了指纹图像方向图计算、频率计算、gabor滤波器增强,细化,特征点提取,特征点匹配.rar
- 基于c++NSGA-2思想的多目标优化程序,采用进化算法处理多目标实值优化问题.rar
- Linux系统中常用权限管理命令
- Coello Coello等人提出了MOPSO 该程序基于matlab实现针对测试函数matlab程序
- Linux系统中常用权限管理命令
- AIR-AP1815-K9-ME-8-5-182-0.tar For Cisco AP1815
- 实验七.zip
- ESP8266刷固件软件flash-download-tools-v3.6.5,AT固件,机智云固件
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈