Skip to content

Commit d23b139

Browse files
author
GitHub Actions
committed
Fix line length in comments
1 parent 00e315a commit d23b139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/indexing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,9 +1095,9 @@ def _getitem_lowerdim(self, tup: tuple):
10951095
if (len(tup) == 2 and is_scalar(tup[0]) and isinstance(tup[1], slice)):
10961096
# Handle scalar row + slice columns case to preserve dtypes
10971097
row_key, col_slice = tup[0], tup[1]
1098-
# First, get the column slice to create sub-DataFrame with preserved column dtypes
1098+
# First, get the column slice to preserve dtypes
10991099
col_section = self._getitem_axis(col_slice, axis=1)
1100-
# Then get the specific row from this sub-DataFrame using appropriate indexer
1100+
# Then get the specific row from this sub-DataFrame
11011101
if self.name == "iloc":
11021102
result = col_section.iloc[row_key]
11031103
else:

0 commit comments

Comments
 (0)