Skip to content

MAINT: remove pandas compat shims; assorted cleanups - #5036

Closed
jbrockmendel wants to merge 4 commits into
statsmodels:masterfrom
jbrockmendel:npcompat2
Closed

jbrockmendel wants to merge 4 commits into
statsmodels:masterfrom
jbrockmendel:npcompat2

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

Follow-up to #5000

@josef-pkt

Copy link
Copy Markdown
Member

Did you edit examples/python/robust_models_1.py by hand?

I think I didn't pay enough attention to some recent changes.
AFAIR, the examples/python were supposed to be synchronized, exported versions of examples/notebooks

#2652 (comment)

can you check this?
i.e. export the notebook version of robust_models_1 to python and see whether the "necessary" changes are there (not pep-8, style and formatting changes).

keeping those python example modules as exported version of the notebooks has two advantages

  • we only have one version to maintain
  • if we were (as I intend for some cases) to export the notebook to py files after each change set in the notebook, then we would have standard change sets for python code that is easier to read in the git history.

@coveralls

coveralls commented Aug 28, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.03%) to 84.007% when pulling 67104cf on jbrockmendel:npcompat2 into e8615f5 on statsmodels:master.

@codecov

codecov Bot commented Sep 2, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #5036 into master will decrease coverage by <.01%.
The diff coverage is 90.76%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5036      +/-   ##
==========================================
- Coverage   81.51%   81.51%   -0.01%     
==========================================
  Files         569      569              
  Lines       89723    89718       -5     
  Branches    10041    10041              
==========================================
- Hits        73135    73130       -5     
  Misses      14307    14307              
  Partials     2281     2281
Impacted Files Coverage Δ
statsmodels/sandbox/multilinear.py 0% <0%> (ø) ⬆️
statsmodels/tsa/base/tsa_model.py 91.82% <100%> (-0.04%) ⬇️
statsmodels/imputation/ros.py 96.85% <100%> (+0.02%) ⬆️
statsmodels/graphics/tests/test_mosaicplot.py 99.28% <96.87%> (-0.02%) ⬇️

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 359aeed...d8316f1. Read the comment docs.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

Rebased again.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

Rebased again.

@josef-pkt

Copy link
Copy Markdown
Member

You just managed to add more than 18 hours to the appveyor queue.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

How would you suggest keeping PRs merge-ready? "Hey let's finish this before merge conflicts pop up" doesn't seem to be working.

@josef-pkt

Copy link
Copy Markdown
Member

I'm trying to look at and work on other things.

I will start to enforce a limit on the number of appveyor jobs by the same author to 4 or 5 unless the queue is short.
I cannot do a review and merge round in the morning because PRs (mine and others that were close to merging) are still waiting in the appveyor queue.

@josef-pkt

Copy link
Copy Markdown
Member

AFAICS, a sortvalues "compatibility" PR would be fine if that is compatible with our minimum pandas.

The rest is style changes all over the place, and I try not to think about those in details (for now)

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

OK. See also #5157.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

Closed in favor of #5217.

@jbrockmendel
jbrockmendel deleted the npcompat2 branch September 21, 2018 04:04
@bashtage bashtage added the rejected Used for PRs with changes that are not acceptable label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rejected Used for PRs with changes that are not acceptable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants