Skip to main content
Back to top
Ctrl
+
K
Install
Tutorial
Backends
Reference
Gallery
Developer
Releases
More
Guides
Home Page
GitHub
Install
Tutorial
Backends
Reference
Gallery
Developer
Releases
Guides
Home Page
GitHub
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
flatten
make_list_of_ints
dict_to_numpy_array
pairwise
groups
create_random_state
create_py_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
networkx.utils.mapped_queue.MappedQueue
Backends
Configs
Glossary
Reference
Utilities
pairwise
pairwise
#
pairwise
(
iterable
,
cyclic
=
False
)
[source]
#
s -> (s0, s1), (s1, s2), (s2, s3), …
On this page
pairwise()