We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf0b4a3 commit e5748f9Copy full SHA for e5748f9
pandas/core/internals/managers.py
@@ -1714,6 +1714,13 @@ def array_values(self):
1714
"""The array that Series.array returns"""
1715
return self._block.array_values
1716
1717
+ def get_numeric_data(self, copy: bool = False):
1718
+ if self._block.is_numeric:
1719
+ if copy:
1720
+ return self.copy()
1721
+ return self
1722
+ return self.make_empty()
1723
+
1724
@property
1725
def _can_hold_na(self) -> bool:
1726
return self._block._can_hold_na
0 commit comments