<｜begin▁of▁sentence｜>### Instruction:
A social network analyst has an undirected and unweighted social network represented as an edge list in a file named 'social_network.edgelist'. Each line in the file represents a social connection between two users, identified by integer node labels. The analyst wishes to import this edge list into a numpy adjacency matrix while retaining the list of all included vertices to facilitate further analysis of the network's structure. How might they use the 'graspologic.utils.import_edgelist' function to achieve this?
### Response:
import networkx as nx
from graspologic.utils import import_edgelist

# Assuming we have an edgelist file named 'social_network.edgelist'
# The file should contain pairs of vertices representing edges, separated by whitespace or a delimiter

# Path to the edgelist file
path_to_edgelist = 'social_network.edgelist'

# Import the edgelist into a numpy array
# The nodetype is set to int, assuming that the nodes are labeled with integers
adjacency_matrix, vertices = import_edgelist(path=path_to_edgelist, nodetype=int, return_vertices=True)

# Create a networkx graph from the numpy adjacency matrix
G = nx.from_numpy_array(adjacency_matrix)
<|EOT|>
