Skip to content

Commit 1448d49

Browse files
committed
DOC: clean-up docstrings
1 parent 1a959e6 commit 1448d49

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

pandas/io/pytables.py

+14-13
Original file line numberDiff line numberDiff line change
@@ -814,19 +814,19 @@ def select(
814814
Parameters
815815
----------
816816
key : str
817-
Object being retrieved from file.
817+
Object being retrieved from file.
818818
where : list, default None
819-
List of Term (or convertible) objects, optional.
819+
List of Term (or convertible) objects, optional.
820820
start : int, default None
821-
Row number to start selection.
821+
Row number to start selection.
822822
stop : int, default None
823-
Row number to stop selection.
823+
Row number to stop selection.
824824
columns : list, default None
825-
A list of columns that if not None, will limit the return columns.
825+
A list of columns that if not None, will limit the return columns.
826826
iterator : bool, default False
827-
Returns an iterator.
827+
Returns an iterator.
828828
chunksize : int, default None
829-
Number or rows to include in iteration, return an iterator.
829+
Number or rows to include in iteration, return an iterator.
830830
auto_close : bool, default False
831831
Should automatically close the store when finished.
832832
@@ -1090,7 +1090,7 @@ def put(
10901090
Table format. Write as a PyTables Table structure which may perform
10911091
worse but allow more flexible operations like searching / selecting
10921092
subsets of the data.
1093-
append : bool, default False
1093+
append : bool, default False
10941094
This will force Table format, append the input data to the
10951095
existing.
10961096
data_columns : list, default None
@@ -1099,7 +1099,7 @@ def put(
10991099
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
11001100
encoding : str, default None
11011101
Provide an encoding for strings.
1102-
dropna : bool, default False, do not write an ALL nan row to
1102+
dropna : bool, default False, do not write an ALL nan row to
11031103
The store settable by the option 'io.hdf.dropna_table'.
11041104
track_times : bool, default True
11051105
Parameter is propagated to 'create_table' method of 'PyTables'.
@@ -1521,11 +1521,12 @@ def copy(
15211521
15221522
Parameters
15231523
----------
1524-
propindexes: bool, default True
1524+
propindexes : bool, default True
15251525
Restore indexes in copied file.
1526-
keys : list of keys to include in the copy (defaults to all)
1527-
overwrite : overwrite (remove and replace) existing nodes in the
1528-
new store (default is True)
1526+
keys : list, optional
1527+
List of keys to include in the copy (defaults to all).
1528+
overwrite : bool, default True
1529+
Whether to overwrite (remove and replace) existing nodes in the new store.
15291530
mode, complib, complevel, fletcher32 same as in HDFStore.__init__
15301531
15311532
Returns

0 commit comments

Comments
 (0)