Skip to content

Commit 3bba6d3

Browse files
committed
pre-commit fixes
1 parent 6069b93 commit 3bba6d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/arrays/masked.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
Iterator,
77
Literal,
88
Sequence,
9-
TypeVar,
109
overload,
1110
)
1211
import warnings

pandas/core/frame.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3603,8 +3603,9 @@ def transpose(self, *args, copy: bool = False) -> DataFrame:
36033603
if isinstance(dtypes[0], BaseMaskedDtype):
36043604
# We have masked arrays with the same dtype. We can transpose faster.
36053605
from pandas.core.arrays.masked import transpose_homogenous_masked_arrays
3606+
36063607
if isinstance(self._mgr, ArrayManager):
3607-
masked_arrays = [arr for arr in self._mgr.arrays]
3608+
masked_arrays = self._mgr.arrays
36083609
else:
36093610
masked_arrays = [blk.values for blk in self._mgr.blocks]
36103611
new_values = transpose_homogenous_masked_arrays(masked_arrays)

0 commit comments

Comments
 (0)