def one_hot_encoding(data: dict, feature: str):
	"""
	:param data: dict[str, list], key is the column name, value is its data
	:param feature: str, the column name of interest
	:return data: dict[str, list], remove the feature column and add its one-hot encoding features
	"""
	if feature == 'Sex':
		for i in range(len(data[feature])):
			if data[feature][i] == 1:
				data['Sex_1'].append(1)
				data['Sex_0'].append(0)
			else:
				data['Sex_1'].append(0)
				data['Sex_0'].append(1)

	elif feature == 'Pclass':
		for j in range(len(data[feature])):
			if data[feature][j] == 1:
				data['Pclass_0'].append(1)
				data['Pclass_1'].append(0)
				data['Pclass_2'].append(0)
			elif data[feature][j] == 2:
				data['Pclass_0'].append(0)
				data['Pclass_1'].append(1)
				data['Pclass_2'].append(0)
			elif data[feature][j] == 3:
				data['Pclass_0'].append(0)
				data['Pclass_1'].append(0)
				data['Pclass_2'].append(1)

	elif feature == 'Embarked':
		for k in range(len(data[feature])):
			if data[feature][k] == 0:
				data['Embarked_0'].append(1)
				data['Embarked_1'].append(0)
				data['Embarked_2'].append(0)
			elif data[feature][k] == 1:
				data['Embarked_0'].append(0)
				data['Embarked_1'].append(1)
				data['Embarked_2'].append(0)
			elif data[feature][k] == 2:
				data['Embarked_0'].append(0)
				data['Embarked_1'].append(0)
				data['Embarked_2'].append(1)

	data.pop(feature)
	return data