summaryrefslogtreecommitdiff
path: root/snippets/python-mode/pandas-hdf-store
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-07-03 23:19:05 -0400
committerKyle Meyer <kyle@kyleam.com>2015-07-03 23:19:05 -0400
commit94511ffbd18a2f24224c539f23c2f6ffb9720eee (patch)
tree5ad6493679c107ee045734127486f26eba49c756 /snippets/python-mode/pandas-hdf-store
parent24b986ca4e8eda852080d5e469d3639b119d8623 (diff)
downloademacs.d-94511ffbd18a2f24224c539f23c2f6ffb9720eee.tar.gz
Don't require newline in snippets
Diffstat (limited to 'snippets/python-mode/pandas-hdf-store')
-rw-r--r--snippets/python-mode/pandas-hdf-store6
1 files changed, 6 insertions, 0 deletions
diff --git a/snippets/python-mode/pandas-hdf-store b/snippets/python-mode/pandas-hdf-store
new file mode 100644
index 0000000..a19ab13
--- /dev/null
+++ b/snippets/python-mode/pandas-hdf-store
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: Pandas HDF5 store
+# key: pdhs
+# --
+with pd.HDFStore($1) as store:
+ $0 \ No newline at end of file