After run feature selection in scikit-learn I would like to expose relevant variables, show me the variables that was select from method, how is it possible? The command X.shape just show the number of variables, I wanna see the name of variables after feature selection.
from sklearn.datasets import load_iris
from sklearn.feature_selection import SelectKBest
from sklearn.feature_selection import chi2
iris = load_iris()
X, y = iris.data, iris.target
X.shape
X_new = SelectKBest(chi2, k=2).fit_transform(X, y)
X_new.shape