Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pandas Loves Ponies

lexual
July 05, 2013

Pandas Loves Ponies

Pandas do love ponies.
Talk about getting Django & Pandas code working together.

lexual

July 05, 2013
Tweet

More Decks by lexual

Other Decks in Technology

Transcript

  1. PANDAS • Like R, but better • DataFrame • In

    Memory SQL • Awesome Builds On Numpy/ Scipy Stack
  2. import pandas as pd Like: • R frame • In

    memory SQL • Excel spreadsheet Does: • SQL like JOINs in memory • groupby • pivot tables • plotting • reads csvs, excel, SQL
  3. github.com/lexual/pandas-love-ponies import pandas_love_ponies as plp # monkey patch. pd.DataFrame.to_django =

    plp.to_django df = pd.DataFrame(some_data) df.to_django(MyDjModel) # OR plp.to_django(df, MyDjModel)
  4. FROM ADOBE MARKETING CLOUD • Adobe's "GA" product. • aka

    SiteCatalyst or Omniture • github.com/lexual/sitecat-py Similar to read_ga() read_sc()
  5. linkd.in/12Kgg5K WE'RE HIRING! • Django/Python Developer • Melbourne Work with

    some cool tech: • Salt • Riak (no-SQL db) • Pandas/Numpy/Scipy • git • AWS