the useful plugins for new linux installation

install virtualenvironment: http://docs.python-guide.org/en/latest/dev/virtualenvs/ Install open terminal here: sudo apt-get install nautilus-open-terminal nautilus -q install notebook extenstion pip install jupyter_contrib_nbextensions jupyter contrib nbextension install --user https://github.com/ipython-contrib/jupyter_contrib_nbextensions

0 Comments

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