So this is the code sequence I\'ve used:
vif_data = pd.DataFrame() vif_data["feature"] = X.columns vif_data["VIF"] = [variance