Decision tree attribute selection

Pls provide me with the python of decision tree attribute selection method based on the variance of data

Please go through the below link for more details: