MCPcopy
hub / github.com/pandas-dev/pandas / test_statsmodels

Function test_statsmodels

pandas/tests/test_downstream.py:135–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133
134
135def test_statsmodels():
136 smf = pytest.importorskip("statsmodels.formula.api")
137
138 df = DataFrame(
139 {"Lottery": range(5), "Literacy": range(5), "Pop1831": range(100, 105)}
140 )
141 smf.ols("Lottery ~ Literacy + np.log(Pop1831)", data=df).fit()
142
143
144def test_scikit_learn():

Callers

nothing calls this directly

Calls 1

DataFrameClass · 0.90

Tested by

no test coverage detected