Critical Path
Using the networkx library I build and find the critical path of a network from a data frame.
The network graph created below can be found here.
# Create a NetworkX DiGraph
G = nx.DiGraph()
# Iterate through the DataFrame and add edges to the graph
f...
blog.dtucker.xyz1 min read