Skip to content

Commit 95230dd

Browse files
committed
pre-commit fixes
1 parent 3e56638 commit 95230dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/arrays/masked.py

-1
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

+2-1
Original file line numberDiff line numberDiff line change
@@ -3596,8 +3596,9 @@ def transpose(self, *args, copy: bool = False) -> DataFrame:
35963596
if isinstance(dtypes[0], BaseMaskedDtype):
35973597
# We have masked arrays with the same dtype. We can transpose faster.
35983598
from pandas.core.arrays.masked import transpose_homogenous_masked_arrays
3599+
35993600
if isinstance(self._mgr, ArrayManager):
3600-
masked_arrays = [arr for arr in self._mgr.arrays]
3601+
masked_arrays = self._mgr.arrays
36013602
else:
36023603
masked_arrays = [blk.values for blk in self._mgr.blocks]
36033604
new_values = transpose_homogenous_masked_arrays(masked_arrays)

0 commit comments

Comments
 (0)