Checking the un/directed status of a graph
In the video, Eric described to you different types of graphs. Which type of graph do you think the Twitter network data you have been working with corresponds to? Use Python's built-in type()
function in the IPython Shell to find out. The network, as before, has been pre-loaded as T
.
Of the four choices below, which one corresponds to the type of graph that T
is?
This exercise is part of the course
Introduction to Network Analysis in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
