Skip to content

Commit 5d54674

Browse files
committed
squash: pytables.py: remove one assignment
1 parent 7bd6f0d commit 5d54674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/pytables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,8 +1832,8 @@ def convert(self, values, nan_rep, encoding, errors, start=None,
18321832
"""
18331833

18341834
start = start if start is not None else 0
1835-
stop = stop if stop is not None else self.table.nrows
1836-
stop = min(stop, self.table.nrows)
1835+
stop = min(stop, self.table.nrows) \
1836+
if stop is not None else self.table.nrows
18371837
self.values = Int64Index(np.arange(stop - start))
18381838

18391839
return self

0 commit comments

Comments
 (0)