BaseNetwork.key_index

BaseNetwork.key_index()

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.