Monthly Archives: August 2015

Hacking Death Talk

DEF CON 23 – Chris Rock – I Will Kill You

Comments Off on Hacking Death Talk

Filed under Uncategorized

Injury Epidemiology of Baghdad

New paper out: http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0131834

Comments Off on Injury Epidemiology of Baghdad

Filed under Uncategorized

Cool idea: JoVE

Here is a super-cool approach to making science more reproducible: the journal of visualized experiments http://www.jove.com/

Here is an example: http://www.jove.com/video/2065/combining-behavioral-endocrinology-experimental-economics

Comments Off on Cool idea: JoVE

Filed under Uncategorized

Medium data in Python: loading a 10G .dta file

Here is a little recipe I cooked from today, a way to load a large Stata file into Python that you can cancel and still get something to play around with. I put it in an old StackOverflow question, so can somebody upvote it for me?

http://stackoverflow.com/a/31869752/1935494

Comments Off on Medium data in Python: loading a 10G .dta file

Filed under Uncategorized

A bit confusing: zooming and tooltips in mpld3

Here is an answer to a question about zooming and tooltips in mpld3: http://stackoverflow.com/questions/31122064/tooltips-disappear-after-zoom-in-out-when-using-matplotlib-mpld3/31843371#31843371

I like the animation I made to answer it, but it is also something worth considering changing, because this interface *is* a bit confusing.

Comments Off on A bit confusing: zooming and tooltips in mpld3

Filed under Uncategorized

Faster, clearer code with Python Pandas

Today I learned about DataFrame.query and DataFrame.eval, which I first saw when I was looking over some students’ shoulders during code review last quarter. Very cool way to make things faster to run and to read: https://gist.github.com/aflaxman/f40ecd3c3eb33f5ab8d2

Comments Off on Faster, clearer code with Python Pandas

Filed under Uncategorized

Some Python libraries to watch

http://ioam.github.io/holoviews/Tutorials/Introduction with led me to https://ioam.github.io/param/ which could be useful for lots of scientific computation.

Comments Off on Some Python libraries to watch

Filed under Uncategorized