This is a very basic feature selection technique.
Its underlying idea is that if a feature is constant (i.e. it has 0 variance), then it cannot be used for finding any interesting patterns and can be removed from the dataset.
Consequently, a heuristic approach to feature elimination is to first re...