We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d43b1 commit 9e44d2dCopy full SHA for 9e44d2d
pandas/io/pytables.py
@@ -591,15 +591,12 @@ def keys(self) -> List[str]:
591
list
592
List of ABSOLUTE path-names (e.g. have the leading '/').
593
"""
594
- # if kind == "pandas":
595
objects = [n._v_pathname for n in self.groups()]
596
if objects:
597
return objects
598
599
self._check_if_open()
600
- return [
601
- n._v_pathname for n in self._handle.walk_nodes("/", classname="Table")
602
- ]
+ return [n._v_pathname for n in self._handle.walk_nodes("/", classname="Table")]
603
604
def __iter__(self):
605
return iter(self.keys())
0 commit comments