Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
89e5b22
DOC: Fix validation error RT01 in pandas/core (#25356)
ihsansecer Apr 27, 2019
4ef2b93
DOC: Fix validation error RT01 in pandas/tseries (#25356)
ihsansecer Apr 27, 2019
648d156
DOC: Fix validation error RT01 in pandas/core/arrays (#25356)
ihsansecer Apr 27, 2019
9498481
DOC: Fix validation error RT01 in pandas/core/dtypes (#25356)
ihsansecer Apr 27, 2019
7967414
DOC: Fix validation error RT01 in pandas/plotting (#25356)
ihsansecer Apr 27, 2019
ac4e339
DOC: Fix validation error RT01 in pandas/util (#25356)
ihsansecer Apr 27, 2019
e1ae56c
DOC: Fix validation error RT01 in pandas/io (#25356)
ihsansecer Apr 27, 2019
dd105a6
DOC: Fix remaining validation errors RT01 (#25356)
ihsansecer Apr 28, 2019
a107468
DOC: Fix validation error RT01 for itertuples function (#25356)
ihsansecer Apr 28, 2019
c7124e7
DOC: Update the code_check.sh script to take into account the RT01 ty…
ihsansecer Apr 28, 2019
26a3dc5
DOC: Remove repeating return description (#25356)
ihsansecer Apr 28, 2019
5920ad2
DOC: Remove whitespaces (#25356)
ihsansecer Apr 28, 2019
484b69b
DOC: Fix introduced docstring validation errors (#25356)
ihsansecer Apr 28, 2019
dc209be
DOC: Add period to the end of first line where missing (#26234)
ihsansecer Apr 29, 2019
a011fa4
DOC: Change boolean to bool (#26234)
ihsansecer Apr 29, 2019
85a82c4
DOC: Remove returned variable names from docstring (#26234)
ihsansecer Apr 29, 2019
bd21eea
DOC: Fix typo #26234
datapythonista May 1, 2019
d5f80f7
DOC: Make minor style changes (#26234)
ihsansecer May 1, 2019
d32306c
DOC: Remove return section from None returning functions (#26234)
ihsansecer May 7, 2019
dc42367
Merge remote-tracking branch 'upstream/master' into rt01-validation-e…
ihsansecer May 7, 2019
331a5df
DOC: Resolve conflicts (#26234)
ihsansecer May 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: Fix validation error RT01 in pandas/io (#25356)
  • Loading branch information
ihsansecer committed Apr 27, 2019
commit e1ae56ca2f624528a27f94218a11498cde43936b
12 changes: 12 additions & 0 deletions pandas/io/pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ def keys(self):
Return a (potentially unordered) list of the keys corresponding to the
objects stored in the HDFStore. These are ABSOLUTE path-names (e.g.
have the leading '/'

Returns
-------
list
"""
return [n._v_pathname for n in self.groups()]

Expand Down Expand Up @@ -1080,6 +1084,10 @@ def create_table_index(self, key, **kwargs):
def groups(self):
"""return a list of all the top-level nodes (that are not themselves a
pandas storage object)

Returns
-------
list
"""
_tables()
self._check_if_open()
Expand Down Expand Up @@ -1214,6 +1222,10 @@ def info(self):
Print detailed information on the store.

.. versionadded:: 0.21.0

Returns
-------
str
"""
output = '{type}\nFile path: {path}\n'.format(
type=type(self), path=pprint_thing(self._path))
Expand Down
8 changes: 8 additions & 0 deletions pandas/io/stata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1750,13 +1750,21 @@ def variable_labels(self):
"""
Return variable labels as a dict, associating each variable name
with corresponding label.

Returns
-------
dict
"""
return dict(zip(self.varlist, self._variable_labels))

def value_labels(self):
"""
Return a dict, associating each variable name a dict, associating
each value its corresponding label.

Returns
-------
dict
"""
if not self._value_labels_read:
self._read_value_labels()
Expand Down