Closed donwany closed 3 years ago
File "/usr/local/lib/python3.7/dist-packages/pygsp/graphs/community.py", line 93 info['comm_sizes'] = np.array(map(lambda (k, v): v, sorted(counts.items(), key=lambda (k, v): k))) ^ SyntaxError: invalid syntax
We need a bit more information on how you go that error to help you.
File "/usr/local/lib/python3.7/dist-packages/pygsp/graphs/community.py", line 93 info['comm_sizes'] = np.array(map(lambda (k, v): v, sorted(counts.items(), key=lambda (k, v): k))) ^ SyntaxError: invalid syntax