Skip to content

Instantly share code, notes, and snippets.

View peteWT's full-sized avatar

Peter Tittmann peteWT

  • Arbos
  • San Francisco, CA
  • 20:03 (UTC -12:00)
View GitHub Profile
@peteWT
peteWT / .emacs
Created May 13, 2016 17:32
emacs config file
;; Melpa
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))
(exec-path-from-shell-copy-env "PYTHONPATH")
@peteWT
peteWT / pandas_dbms.py
Created August 21, 2012 01:19 — forked from catawbasam/pandas_dbms.py
Python PANDAS : load and save Dataframes to sqlite, MySQL, Oracle, Postgres
# -*- coding: utf-8 -*-
"""
example use of pandas with oracle mysql postgresql sqlite
lightly tested.
to do:
save/restore index (how to check table existence? just do select count(*)?),
finish odbc,
add booleans?,
sql_server?