Jupyter Magic Memory

%: line magic, %%cell magic Repeat Command: %recall Write cell content into a file: %%writefile file.py To autoreload your pyfile: %load_ext autoreload %autoreload 2 from yourfile import yourFunction https://ipython.org/ipython-doc/3/config/extensions/autoreload.html Use…

0 Comments

R important things

R has no block comment, but you can still do the following things: In RStudio: Ctrl+Shift+C if(false){xxx} block   python to R df.tail() -> tail(df) dropna(df) ->na.omit(df) / df[complete.cases(df),] df.describe()…

0 Comments

pycharm for django and sass

For django: professional version. create a new django project: just create a new one import a django project: import the project activate django support For Sass: https://www.jetbrains.com/help/pycharm/2016.3/transpiling-sass-less-and-scss-to-css.html make sure, the…

0 Comments