I have been trying to run a code I got from stackoverflow which contains a function called "get_degrees_dic". I figured this function is from graph-tool package. Since I am doing my project in Windows and graph-tool is not suitable for it, I was wondering if anyone knows a similar package or at least could explain to me what does this function do?
Thanks in advance