Skip to content

MAINT: remove sandbox.formula, supplanted by patsy - #5692

Merged
bashtage merged 4 commits into
statsmodels:masterfrom
jbrockmendel:rmform
Jul 19, 2019
Merged

bashtage merged 4 commits into
statsmodels:masterfrom
jbrockmendel:rmform

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

Removes example and test files, then contrast_old and utils_old that are currently used in sandbox.formula and nowhere else.

@coveralls

coveralls commented May 11, 2019 •

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.03%) to 85.718% when pulling 5d622f9 on jbrockmendel:rmform into 3a989dc on statsmodels:master.

@codecov

codecov Bot commented May 11, 2019

Copy link
Copy Markdown

Codecov Report

Merging #5692 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5692      +/-   ##
==========================================
- Coverage   82.18%   82.16%   -0.02%     
==========================================
  Files         593      589       -4     
  Lines       93678    92968     -710     
  Branches    10352    10241     -111     
==========================================
- Hits        76985    76391     -594     
+ Misses      14296    14211      -85     
+ Partials     2397     2366      -31

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e104681...da07453. Read the comment docs.

@codecov

codecov Bot commented May 11, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #5692 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5692      +/-   ##
==========================================
- Coverage   83.24%   83.24%   -0.01%     
==========================================
  Files         610      606       -4     
  Lines       95715    95001     -714     
  Branches    10487    10380     -107     
==========================================
- Hits        79681    79082     -599     
+ Misses      13628    13548      -80     
+ Partials     2406     2371      -35
Impacted Files Coverage Δ
statsmodels/tools/grouputils.py 69.46% <0%> (-0.45%) ⬇️
statsmodels/sandbox/distributions/mv_normal.py 38.82% <0%> (ø) ⬆️
statsmodels/sandbox/regression/treewalkerclass.py 0% <0%> (ø) ⬆️
statsmodels/sandbox/stats/multicomp.py 46.93% <0%> (ø) ⬆️
statsmodels/stats/libqsturng/make_tbls.py 0% <0%> (ø) ⬆️
statsmodels/tsa/statespace/mlemodel.py 85.11% <0%> (ø) ⬆️
statsmodels/iolib/summary.py 58.15% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a989dc...5d622f9. Read the comment docs.

@josef-pkt

Copy link
Copy Markdown
Member

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

is_nested looks like an interesting function

Any idea if it would work with patsy-based inputs? i.e. could we keep that function and just lose the classes?

@josef-pkt

Copy link
Copy Markdown
Member

The formula and term handling is obsolete and can be removed

But I'm always looking for linalg and other helper functions for things that I don't know or cannot write from memory.
#5722 new issue for is_nested, nested categoricals

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

Great. With #5722 in place is there anything else to salvage from these files?

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

I tried to debug the failures in ex_formula, got one of em but the rest would take some major re-implementation of patsy, not worth it. cc @bashtage

@bashtage
bashtage merged commit 0d3f015 into statsmodels:master Jul 19, 2019
@jbrockmendel
jbrockmendel deleted the rmform branch July 19, 2019 23:48
@bashtage bashtage added this to the 0.11 milestone Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DEPR: Is sandbox.formula supplanted by patsy?

4 participants