This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am michaelmauderer on github. | |
* I am michaelmauderer (https://keybase.io/michaelmauderer) on keybase. | |
* I have a public key whose fingerprint is E831 961D 2EE8 2EEC 1FE0 F16B 6461 8781 F9A2 439A | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dj_database_url | |
TEST_DATABASES = { | |
'default': dj_database_url.config(env='TEST_DATABASE_URL') | |
} | |
# replace path below to point to HerokuTestSuiteRunner class | |
TEST_RUNNER = 'python.path.to.test_suite_runner.HerokuTestSuiteRunner' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[macro_use] | |
extern crate criterion; | |
use std::collections::HashSet; | |
use std::iter::FromIterator; | |
use criterion::black_box; | |
use criterion::Criterion; | |
use test::{iter_items_set, process_things_by_index_loop}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import time | |
import pandas as pd | |
df = pd.read_csv('sample_data.csv') | |
x = df['x'] | |
y = df['y'] | |
color = df[['color_r', 'color_g', 'color_b', 'color_a']].values |