Skip to content

Instantly share code, notes, and snippets.

View oliviac12's full-sized avatar
🎯
Focusing

Olivia Chen oliviac12

🎯
Focusing
View GitHub Profile
@oliviac12
oliviac12 / sqlnotes_SQLZOO
Last active February 19, 2016 16:57
Sql notes while studying SQL
#multiple condition using where VARIABLE in (Values), see example:
SELECT name, population FROM world
WHERE name in ('France', 'Germany' , 'Italy')
#if conditions includes more than one varibale, see example:
SELECT name, population, area FROM world
WHERE (area >3000000 and population < 250000000) or (area <3000000 and population > 250000000)
#if looking for partial value, use VARIABLE like "%", see example:
SELECT name FROM world
WHERE name like "United%"
@oliviac12
oliviac12 / Python Note
Last active February 19, 2016 19:24
It's Python Time
#Python interative data viz
http://walkerke.github.io/geog30323/slides/interactive/#/
https://s3.amazonaws.com/quandl-static-content/Documents/Quandl+-+Pandas,+SciPy,+NumPy+Cheat+Sheet.pdf
@oliviac12
oliviac12 / Probablity
Created February 8, 2016 18:03
Stats
#CONDITIONAL INDEPENDENCE
conditional independence is the same as normal independence, but restricted to the case where you know that a certain condition is
or isn't fulfilled. Not only can you not find out about A by finding out about B in general (normal independence), but you also
can't do so under the condition that there's a snow storm (conditional independence).
source: http://math.stackexchange.com/questions/23093/could-someone-explain-conditional-independence
@oliviac12
oliviac12 / .block
Last active October 25, 2016 03:56
MetisDataVisClass1
license: mit
@oliviac12
oliviac12 / .block
Created October 30, 2016 21:49
Basic starter code for many simple D3 charts, v4
license: mit
@oliviac12
oliviac12 / .block
Last active October 31, 2016 04:34
Scatter Plot
license: mit
@oliviac12
oliviac12 / .block
Created October 31, 2016 04:18 — forked from mbostock/.block
General Update Pattern, III
license: gpl-3.0
@oliviac12
oliviac12 / .block
Created October 31, 2016 04:20
fresh block
license: mit
@oliviac12
oliviac12 / .block
Created November 1, 2016 01:34
Metis Class 3 Starter Block
license: mit
@oliviac12
oliviac12 / .block
Last active November 1, 2016 04:19
Metis Class 3 Starter Block
license: mit