a nicer version for pandas merge
changed the default number of switched to attempt while randomizing the network in shuffle
BUG: when indices are strings that encode numbers from_indices fails