Skip to content

Commit 1228510

Browse files
re-revert take and numeric_mixed_type
1 parent b5b466e commit 1228510

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pandas/core/generic.py

-2
Original file line numberDiff line numberDiff line change
@@ -3369,8 +3369,6 @@ class max_speed
33693369

33703370
nv.validate_take(tuple(), kwargs)
33713371

3372-
self._consolidate_inplace()
3373-
33743372
new_data = self._mgr.take(
33753373
indices, axis=self._get_block_manager_axis(axis), verify=True
33763374
)

pandas/core/internals/managers.py

-2
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,6 @@ def is_mixed_type(self) -> bool:
675675

676676
@property
677677
def is_numeric_mixed_type(self) -> bool:
678-
# Warning, consolidation needs to get checked upstairs
679-
self._consolidate_inplace()
680678
return all(block.is_numeric for block in self.blocks)
681679

682680
@property

0 commit comments

Comments
 (0)