@@ -1088,17 +1088,15 @@ def to_json(self, path_or_buf=None, orient=None, date_format='epoch',
1088
1088
lines = lines )
1089
1089
1090
1090
def to_hdf (self , path_or_buf , key , ** kwargs ):
1091
- """Activate the HDFStore.
1091
+ """Write the contained data to an HDF5 file using HDFStore.
1092
1092
1093
1093
Parameters
1094
1094
----------
1095
1095
path_or_buf : the path (string) or HDFStore object
1096
1096
key : string
1097
1097
indentifier for the group in the store
1098
- mode : optional, {'a', 'w', 'r', 'r +'}, default 'a'
1098
+ mode : optional, {'a', 'w', 'r+'}, default 'a'
1099
1099
1100
- ``'r'``
1101
- Read-only; no data can be modified.
1102
1100
``'w'``
1103
1101
Write; a new file is created (an existing file with the same
1104
1102
name would be deleted).
@@ -1116,6 +1114,9 @@ def to_hdf(self, path_or_buf, key, **kwargs):
1116
1114
/ selecting subsets of the data
1117
1115
append : boolean, default False
1118
1116
For Table formats, append the input data to the existing
1117
+ data_columns : list of columns to create as data columns, or True to
1118
+ use all columns. See
1119
+ `here <http://pandas.pydata.org/pandas-docs/stable/io.html#query-via-data-columns>`__ # noqa
1119
1120
complevel : int, 1-9, default 0
1120
1121
If a complib is specified compression will be applied
1121
1122
where possible
@@ -1126,7 +1127,6 @@ def to_hdf(self, path_or_buf, key, **kwargs):
1126
1127
If applying compression use the fletcher32 checksum
1127
1128
dropna : boolean, default False.
1128
1129
If true, ALL nan rows will not be written to store.
1129
-
1130
1130
"""
1131
1131
1132
1132
from pandas .io import pytables
0 commit comments