Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": "csv_conversion"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "analysis_dbs"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@twiecki
twiecki / gist:5438155
Created April 22, 2013 20:19
Clustering analysis of "Individual differences, aging, and IQ in two-choice tasks"
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "analyze_ratcliff"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
date,debt
2004-01-04,35
2004-01-11,36
2004-01-18,36
2004-01-25,37
2004-02-01,37
2004-02-08,37
2004-02-15,35
2004-02-22,35
2004-02-29,34
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@twiecki
twiecki / exmachina.py
Last active October 10, 2021 05:22
PEP8 version of Ex-Machina bluebook decryption code
# After seeing Ex Machina I tweeted:
# "So disappointed in #ExMachina -- the #Python wasn't PEP8 compatible..."
# https://twitter.com/twiecki/status/599615426922938368
# For the original code in the movie as well as what it does (it's kinda neat), see:
# http://moviecode.tumblr.com/post/119171520870/in-the-movie-ex-machina-which-is-really-great
# To put my code where my mouth is, I decided to make the code PEP8 compatible which you can see below.
# I also did some minor cosmetic changes like changing i = i + 1 to i += 1
# Other ideas for improvements? Comment below.