Created
May 9, 2019 22:20
-
-
Save inc0/3006930ef42974978b5777b036db4161 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ego_graph(row, graph, radius): | |
if row == 'foo': | |
return | |
reurn nx.ego_graph(G, row, radius).edges() | |
test_user_dd.apply(ego_graph, graph=G, radius=2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment