File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -5168,6 +5168,9 @@ def _check_inplace_setting(self, value):
5168
5168
5169
5169
return True
5170
5170
5171
+ def _get_data (self ):
5172
+ return self ._constructor (self ._data .get_data ()).__finalize__ (self )
5173
+
5171
5174
def _get_numeric_data (self ):
5172
5175
return self ._constructor (
5173
5176
self ._data .get_numeric_data ()).__finalize__ (self )
Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ def is_view(self):
632
632
633
633
return False
634
634
635
- def get_bool_data (self , copy = False ):
635
+ def get_data (self , copy = False ):
636
636
"""
637
637
Parameters
638
638
----------
@@ -642,6 +642,16 @@ def get_bool_data(self, copy=False):
642
642
self ._consolidate_inplace ()
643
643
return self .combine ([b for b in self .blocks ], copy )
644
644
645
+ def get_bool_data (self , copy = False ):
646
+ """
647
+ Parameters
648
+ ----------
649
+ copy : boolean, default False
650
+ Whether to copy the blocks
651
+ """
652
+ self ._consolidate_inplace ()
653
+ return self .combine ([b for b in self .blocks if b .is_bool ], copy )
654
+
645
655
def get_numeric_data (self , copy = False ):
646
656
"""
647
657
Parameters
You can’t perform that action at this time.
0 commit comments