HTML Reports
import altair as alt from jinja2 import Template import json import pandas as pd from vega_datasets import data iris = data.iris() cars = alt.Chart(iris, title="Iris Chart").mark_point().encode( x='petalLength', y='petalWidth', …
import altair as alt from jinja2 import Template import json import pandas as pd from vega_datasets import data iris = data.iris() cars = alt.Chart(iris, title="Iris Chart").mark_point().encode( x='petalLength', y='petalWidth', …
Modern techniques for scientific computing and data science (1/n) If you’re anything like me, you’ve picked up some python programming in order to solve a problem or maybe as part of a class in computing. Many of us picked up this langauge …
Lately I’ve been playing around with the anasazi library. It’s basically a library that implements algorithms to solve eigenvalue problems that are all completely unaware of the underling data structures. The way this is done is by …
Here’s a quick tip to make your integrals super fast in python. Suppose you wanted to integrate a function in 3D. We can start by import nquad from scipy and defining our function. from scipy.integrate import nquad from math import sqrt, …
I recently replied to an reddit /r/askscience post that got me overthinking about something so simple, I just had to write a post about it. The main crux of the issue is simple. At a base level, what is a molecule? As I’ll show you now, a …
Getting Started This presentation is no help if you can’t get the python packages it uses! There are a few options here. If you’re not already set up, probably the easiest way to install python packages is pip. If you don’t already have it, …