Adjusted Rand Index Python String To Int