Open bast opened 4 years ago
Also I would like a good line magic to demonstrate. The only non-abstract one I could find was timeit (both line and cell), so didn't know what to demonstrate. Ideally different ones for the demo and the exercise...
the matplotlib one is important and i will show it later
matplotlib + timeit
or/and mention %prun, %lprun, %memit, %mprun
Bumping this. Either remove completely or use exclusively magics which are built-in and not OS dependent. E.g.
%%bash
requires a unix system.
timeit
should be ok.
Please really avoid having bash magics in the material. Otherwise instructors will show them and it won't work for 50% of the learners who are on Windows.
Notebooks that use bash magics are often less reusable and less movable to other machines. Often they try to do something with the file system which might not be present at the other computer that tries to run this.
Does not work for some learners on windows and they might think that all magics won't work.