good place for a list comprehension ...
row_order, col_order = [list(foo) for foo in bipartite.sets(sub_graph)]