Skip to content

Instantly share code, notes, and snippets.

View augustoqm's full-sized avatar

Augusto Queiroz de Macedo augustoqm

View GitHub Profile
@augustoqm
augustoqm / pandas_recipe.py
Last active April 18, 2016 21:48 — forked from why-not/gist:4582705
Pandas recipe.
# ======================================================================================================
# Pandas Recipe
# ======================================================================================================
# quick way to create a data frame to try things out
df = pd.DataFrame(np.random.randn(5, 4), columns=['a', 'b', 'c', 'd'])
# will bring out a col
df['A']