Skip to content
Snippets Groups Projects
Select Git revision
  • 947e83b6d28e4ef072df2f2bb62aae9dd54a6ed6
  • main default protected
  • v0.11
  • live
  • unifiedsse
  • 2.0.0.post4 protected
  • 2.0.0.post3 protected
  • 2.0.0.post2 protected
  • 2.0.0.post1 protected
  • 2.0.0 protected
  • 2.0.0a7 protected
  • 2.0.0a6 protected
  • 2.0.0a5 protected
  • 2.0.0a4 protected
  • 2.0.0a3 protected
  • 2.0.0a1 protected
  • 0.15.0a2 protected
  • 0.15.0a1 protected
  • 0.14.2 protected
  • 0.14.1 protected
  • 0.14.0 protected
  • 0.13.6 protected
  • 0.13.5 protected
  • 0.13.4 protected
  • 0.13.3 protected
25 results

_version.py

Blame
  • Makefile NaN GiB
    SLIDES = Introduction-to-Pandas--slides.html
    SUBNOTEBOOKS = Introduction-to-Pandas--slides.ipynb Introduction-to-Pandas--tasks.ipynb Introduction-to-Pandas--solution.ipynb
    
    MASTER_NOTEBOOK = Introduction-to-Pandas--master.ipynb
    
    DEP_PRESENTATION = reveal_options.txt fzj.js custom.css Makefile
    
    .PHONY: all presentation subnotebooks presentation-pdf
    all: presentation subnotebooks
    presentation: $(SLIDES)
    presentation-pdf: $(SLIDES:html=pdf)
    subnotebooks: $(SUBNOTEBOOKS)
    
    %.html: %.ipynb $(DEP_PRESENTATION)
    	jupyter nbconvert --to=slides --reveal-prefix=reveal.js --stdout $< \
    	| awk '/reveal.js"/ { print "     " $$1 ","; print "     \"fzj.js\""; next }1' \
    	| sed '/transition/r reveal_options.txt' \
    	> $@
    
    %.pdf: %.html $(DEP_PRESENTATION)
    	# This needs to have artificially large paper size in order to fix bug https://github.com/astefanutti/decktape/issues/151#issuecomment-456166075
    	decktape --size "2560x1440" reveal $< $@
    
    Introduction-to-Pandas--slides.ipynb: $(MASTER_NOTEBOOK)
    	./notebook-task-filter.py $< --keep task --keep solution --keep onlypresentation --remove onlytask --remove onlysolution --remove nopresentation -o $@
    
    Introduction-to-Pandas--tasks.ipynb: $(MASTER_NOTEBOOK)
    	./notebook-task-filter.py $< --keep task --keep nopresentation --keep onlytask --remove solution --remove all -o $@
    
    Introduction-to-Pandas--solution.ipynb: $(MASTER_NOTEBOOK)
    	./notebook-task-filter.py $< --keep task --keep nopresentation --keep solution --keep onlysolution --remove all -o $@