Skip to content

MAINT: Add Script to convert notebooks - #5249

Merged
bashtage merged 4 commits into
statsmodels:masterfrom
bashtage:sync-notebooks
May 1, 2019
Merged

bashtage merged 4 commits into
statsmodels:masterfrom
bashtage:sync-notebooks

Conversation

@bashtage

Copy link
Copy Markdown
Member

Add script to convert notebooks to allow manual syncing
Sync notebooks

@bashtage
bashtage force-pushed the sync-notebooks branch 5 times, most recently from 5da63c2 to d1b9398 Compare September 23, 2018 15:34
@coveralls

coveralls commented Sep 23, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.001%) to 84.204% when pulling 4a789db on bashtage:sync-notebooks into 2f831ad on statsmodels:master.

@codecov

codecov Bot commented Sep 23, 2018 •

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@afca036). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #5249   +/-   ##
=========================================
  Coverage          ?   81.71%           
=========================================
  Files             ?      569           
  Lines             ?    89699           
  Branches          ?    10028           
=========================================
  Hits              ?    73295           
  Misses            ?    14132           
  Partials          ?     2272

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 afca036...0c1974b. Read the comment docs.

@bashtage
bashtage force-pushed the sync-notebooks branch 4 times, most recently from 25a4dbd to b8c874f Compare September 24, 2018 09:33
@jbrockmendel

Copy link
Copy Markdown
Contributor

+1 on the concept, a few questions while in the area:

  • Many of these example files do not run correctly ATM. Should those be moved to e.g. sandbox until they are fixed?
  • Should the .py versions of these files be kept out of master and only generated at release time?
  • Smoke tests that these files run successfully?
  • Is there a meaningful distinction between examples/ vs statsmodels/examples?

@josef-pkt

Copy link
Copy Markdown
Member

Many of these example files do not run correctly ATM

All the notebook exports should run in the same way as the notebooks, don't they?
(with maybe a missing plt.show()

Should the .py versions of these files be kept out of master and only generated at release time?

My preferred method would be to update/reexport on every change/PR which would allow us to see a diff without the notebook noise

@bashtage

Copy link
Copy Markdown
Member Author

They all run except robust_models_1 which depends on rpy2 and R magics.

bashtage added 4 commits May 1, 2019 12:36
Add script to convert notebooks to allow manual syncing
Sync notebooks
Add options to convert a cingle notebook
Skip newer Python files by default
Fix small spellign mistakes
Move future import to top to facilite export
Update run_all to execute python notebooks and report status
Silence noise in notebooks
Improve run all to redirect show
@bashtage
bashtage merged commit a413ea4 into statsmodels:master May 1, 2019
@bashtage
bashtage deleted the sync-notebooks branch May 1, 2019 17:19
@josef-pkt josef-pkt added this to the 0.10 milestone May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants