Network.key_index

Network.key_index()[source]

Returns a dictionary that maps node dictionary keys to the corresponding index in a node list or array.

Returns

dict – A dictionary of key-index pairs.