graph_tool.inference.contiguous_map#

graph_tool.inference.contiguous_map(prop)[source]#

Remap the values of prop in the contiguous range \([0, N-1]\).