File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -2895,6 +2895,26 @@ everything in the sub-store and BELOW, so be *careful*.
28952895
28962896 .. _io.hdf5-types :
28972897
2898+
2899+ .. warning :: Hierarchical keys cannot be retrieved as dotted (attribute) access as described above for items stored under root node.
2900+
2901+ .. ipython :: python
2902+
2903+ store.foo.bar.bah
2904+ AttributeError : ' HDFStore' object has no attribute ' foo'
2905+
2906+ store.root.foo.bar.bah
2907+ / foo/ bar/ bah (Group) ' '
2908+ children := [' block0_items' (Array), ' axis1' (Array), ' axis0' (Array), ' block0_values' (Array)]
2909+
2910+ Use explicit string based keys
2911+
2912+ .. ipython :: python
2913+
2914+ bah = store[' foo/bar/bah' ]
2915+
2916+
2917+
28982918 Storing Types
28992919'''''''''''''
29002920
You can’t perform that action at this time.
0 commit comments