convert dataset/index