Skip to content

Commit 84fc7bf

Browse files
committed
added pd as namespace
more consistent with code in the rest of the document
1 parent fe201a2 commit 84fc7bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/io.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2553,7 +2553,7 @@ for some advanced strategies
25532553
25542554
.. ipython:: python
25552555
2556-
store = HDFStore('store.h5')
2556+
store = pd.HDFStore('store.h5')
25572557
print(store)
25582558
25592559
Objects can be written to the file just like adding key-value pairs to a
@@ -2611,7 +2611,7 @@ Closing a Store, Context Manager
26112611
26122612
# Working with, and automatically closing the store with the context
26132613
# manager
2614-
with HDFStore('store.h5') as store:
2614+
with pd.HDFStore('store.h5') as store:
26152615
store.keys()
26162616
26172617
.. ipython:: python

0 commit comments

Comments
 (0)