Skip to content

Commit 9e44d2d

Browse files
Forgot to remove commented out line of code
1 parent 54d43b1 commit 9e44d2d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pandas/io/pytables.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -591,15 +591,12 @@ def keys(self) -> List[str]:
591591
list
592592
List of ABSOLUTE path-names (e.g. have the leading '/').
593593
"""
594-
# if kind == "pandas":
595594
objects = [n._v_pathname for n in self.groups()]
596595
if objects:
597596
return objects
598597

599598
self._check_if_open()
600-
return [
601-
n._v_pathname for n in self._handle.walk_nodes("/", classname="Table")
602-
]
599+
return [n._v_pathname for n in self._handle.walk_nodes("/", classname="Table")]
603600

604601
def __iter__(self):
605602
return iter(self.keys())

0 commit comments

Comments
 (0)