<｜begin▁of▁sentence｜>### Instruction:
Given an adjacency matrix [[0, 1], [1, 0]] represented as a SciPy sparse array, how do you create a NetworkX graph from this matrix?
### Response:
import networkx as nx
import scipy.sparse as sp

# Create a SciPy sparse array
A = sp.csr_matrix([[0, 1], [1, 0]])

# Create a NetworkX graph from the SciPy sparse array
G = nx.from_scipy_sparse_array(A)

print('Nodes:', G.nodes())
print('Edges:', G.edges())
<|EOT|>
