pyfan.panda.stats.polynomial_regression.
ols_formula
Generates the R style formula for statsmodels (patsy) given the dataframe, dependent variable and optional excluded columns as strings