Ctrl
+
K
Site Navigation
Install
Tutorial
Reference
Gallery
Developer
Releases
Guides
Home Page
GitHub
v2.8.8
devel (latest)
current (stable)
Site Navigation
Install
Tutorial
Reference
Gallery
Developer
Releases
Guides
Home Page
GitHub
v2.8.8
devel (latest)
current (stable)
Section Navigation
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Relabeling nodes
Reading and writing graphs
Drawing
Randomness
Exceptions
Utilities
arbitrary_element
is_string_like
flatten
iterable
make_list_of_ints
make_str
generate_unique_node
default_opener
pairwise
groups
create_random_state
nodes_equal
edges_equal
graphs_equal
UnionFind.union
powerlaw_sequence
cumulative_distribution
discrete_sequence
zipf_rv
random_weighted_sample
weighted_choice
open_file
not_implemented_for
nodes_or_number
np_random_state
py_random_state
networkx.utils.decorators.argmap
cuthill_mckee_ordering
reverse_cuthill_mckee_ordering
Glossary
pairwise
#
pairwise
(
iterable
,
cyclic
=
False
)
[source]
#
s -> (s0, s1), (s1, s2), (s2, s3), …
Ctrl
+
K
On this page
pairwise()