Move redundant NetworkX method to new notebook