npstreams
1.6
Installation
Conventions
Reference/API
Creation of Streams
Statistical Functions
Numerics
Linear Algebra
Control Flow
Comparisons
Parallelization
Stacking
Iterator Utilities
npstreams.last
npstreams.cyclic
npstreams.itercopy
npstreams.chunked
npstreams.linspace
npstreams.multilinspace
npstreams.peek
npstreams.primed
npstreams.length_hint
Array Utilities
Benchmarking
CUDA support
Control Flow
Making your own Streaming Reduction Function
Recipes
npstreams
Docs
»
Reference/API
»
npstreams.peek
Edit on GitHub
npstreams.peek
¶
npstreams.
peek
(
iterable
)
¶
Peek ahead in an iterable.
Parameters:
iterable
(
iterable
) –
Returns:
first
(
object
) – First element of
iterable
stream
(
iterable
) – Iterable containing
first
and all other elements from
iterable
Read the Docs
v: 1.6
Versions
latest
1.6
master
Downloads
html
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.