Skip to content

Commit f4108b7

Browse files
jrebackwesm
authored andcommitted
typos in io.rst
moved some api changes docs to the proper place
1 parent 921c754 commit f4108b7

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

doc/source/io.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ Objects can be written to the file just like adding key-value pairs to a dict:
795795
major_axis=date_range('1/1/2000', periods=5),
796796
minor_axis=['A', 'B', 'C', 'D'])
797797
798-
# store.put('s', s') is an equivalent method
798+
# store.put('s', s) is an equivalent method
799799
store['s'] = s
800800
801801
store['df'] = df
@@ -853,15 +853,19 @@ after data is already in the table (this may become automatic in the future or a
853853
store = HDFStore('store.h5')
854854
df1 = df[0:4]
855855
df2 = df[4:]
856+
857+
# append data (creates a table automatically)
856858
store.append('df', df1)
857859
store.append('df', df2)
858860
store
859861
862+
# select the entire object
860863
store.select('df')
861864
862865
# the type of stored data
863866
store.handle.root.df._v_attrs.pandas_type
864867
868+
# create an index
865869
store.create_table_index('df')
866870
store.handle.root.df.table
867871

doc/source/v0.10.0.txt

+4-9
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ Updated PyTables Support
9090

9191
- performance improvments on table writing
9292
- support for arbitrarily indexed dimensions
93-
- ``SparseSeries`` now has a ``density`` property (#2384)
9493

9594
**Bug Fixes**
9695

@@ -111,8 +110,6 @@ Updated PyTables Support
111110
import os
112111
os.remove('store.h5')
113112

114-
- Implement ``value_vars`` in ``melt`` and add ``melt`` to pandas namespace (GH2412_)
115-
116113
N Dimensional Panels (Experimental)
117114
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118115

@@ -130,8 +127,6 @@ Adding experimental support for Panel4D and factory functions to create n-dimens
130127

131128

132129

133-
- Enable ``Series.str.strip/lstrip/rstrip`` methods to take an argument (GH2411_)
134-
135130
API changes
136131
~~~~~~~~~~~
137132

@@ -142,14 +137,14 @@ API changes
142137
def f(x):
143138
return Series([ x, x**2 ], index = ['x', 'x^s'])
144139
s = Series(np.random.rand(5))
145-
s
140+
s
146141
s.apply(f)
147142

148-
This is conceptually similar to the following.
143+
- Enable ``Series.str.strip/lstrip/rstrip`` methods to take an argument (GH2411_)
149144

150-
.. ipython:: python
145+
- Implement ``value_vars`` in ``melt`` and add ``melt`` to pandas namespace (GH2412_)
151146

152-
concat([ f(y) for x, y in s.iteritems() ], axis=1).T
147+
- ``SparseSeries`` now has a ``density`` property (#2384)
153148

154149
- New API functions for working with pandas options (GH2097_):
155150

0 commit comments

Comments
 (0)