Skip to content

Commit 87adf71

Browse files
Forgot to remove commented out line of code
1 parent b56d579 commit 87adf71

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
@@ -601,15 +601,12 @@ def keys(self) -> List[str]:
601601
list
602602
List of ABSOLUTE path-names (e.g. have the leading '/').
603603
"""
604-
# if kind == "pandas":
605604
objects = [n._v_pathname for n in self.groups()]
606605
if objects:
607606
return objects
608607

609608
self._check_if_open()
610-
return [
611-
n._v_pathname for n in self._handle.walk_nodes("/", classname="Table")
612-
]
609+
return [n._v_pathname for n in self._handle.walk_nodes("/", classname="Table")]
613610

614611
def __iter__(self):
615612
return iter(self.keys())

0 commit comments

Comments
 (0)