statsmodels.regression.linear_model.OLS.exog_names

attribute

OLS.exog_names

Names of exogenous variables