Skip to content

Instantly share code, notes, and snippets.

View fperez's full-sized avatar

Fernando Pérez fperez

View GitHub Profile
@fperez
fperez / README.md
Last active August 13, 2024 19:11
Polyglot Data Science with IPython

Polyglot Data Science with IPython & friends

Author: Fernando Pérez.

A demonstration of how to use Python, Julia, Fortran and R cooperatively to analyze data, in the same process.

This is supported by the IPython kernel and a few extensions that take advantage of IPython's magic system to provide low-level integration between Python and other languages.

See the companion notebook for data preparation and setup.

@fperez
fperez / release-counts.ipynb
Created December 1, 2017 10:46
Release counts
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / sprt-nbsp.ipynb
Created March 16, 2017 07:09
sprt test - adding an nbsp in the gap0 paragraph in 2nd cell
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / widgetsave.ipynb
Last active February 25, 2017 02:02
Testing saving notebooks with ipywidgets embedded
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / conda.log
Created December 21, 2016 03:11
Conda debug log for Conda issue 3494
denali[~]> conda create -n iptest ipython -vvv
DEBUG conda.cli.main:_main(143): verbosity set to 3
DEBUG conda.core.index:fetch_index(349): channel_urls=OrderedDict([('https://repo.continuum.io/pkgs/free/osx-64', ('defaults', 0)), ('https://repo.continuum.io/pkgs/free/noarch', ('defaults', 0)), ('https://repo.continuum.io/pkgs/r/osx-64', ('defaults', 0)), ('https://repo.continuum.io/pkgs/r/noarch', ('defaults', 0)), ('https://repo.continuum.io/pkgs/pro/osx-64', ('defaults', 0)), ('https://repo.continuum.io/pkgs/pro/noarch', ('defaults', 0))])
Fetching package metadata ...DEBUG requests.packages.urllib3.util.retry:from_int(191): Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None)
DEBUG conda.core.index:fetch_repodata(284): Using cached repodata for https://repo.continuum.io/pkgs/free/osx-64 at /Users/fperez/usr/conda/pkgs/cache/840cf1fb.json. Timeout in 284 sec
.DEBUG conda.core.index:fetch_repodata(284): Using cached repodata for https://repo.continuum.io/pkgs/free/noarch at /
@fperez
fperez / SimpleNeuralNets.ipynb
Last active April 19, 2022 18:52
Notes for "Why does deep and cheap learning work so well?" (ArXiv:1608.08225v1/cond-mat.dis-nn) by Lin and Tegmark.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / CMagic.ipynb
Last active August 23, 2016 23:06
A quick and dirty implementation of a %%C magic to compile C code in IPython
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / batman-julia.ipynb
Created July 13, 2016 04:23
The "Batman curve" in Julia
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / Light data with Google Science Journal.ipynb
Last active February 25, 2019 13:18
Real-world data in a few minutes with Google Science Journal
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / debug.log
Created May 12, 2016 18:57
Js widgets debug log
(master)denali[jupyter-js-widgets]> cat /Users/fperez/dev/ipython/ipywidgets/jupyter-js-widgets/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/6.0.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '--save',
1 verbose cli 'jupyter-js-widgets' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting