We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b26a7 commit 6d2505bCopy full SHA for 6d2505b
pandas/core/generic.py
@@ -5331,15 +5331,10 @@ def _is_mixed_type(self) -> bool_t:
5331
f = lambda: self._mgr.is_mixed_type
5332
return self._protect_consolidate(f)
5333
5334
- @property
5335
- def _is_numeric_mixed_type(self) -> bool_t:
5336
- f = lambda: self._mgr.is_numeric_mixed_type
5337
- return self._protect_consolidate(f)
5338
-
5339
def _check_inplace_setting(self, value) -> bool_t:
5340
""" check whether we allow in-place setting with this type of value """
5341
if self._is_mixed_type:
5342
- if not self._is_numeric_mixed_type:
+ if not self._mgr.is_numeric_mixed_type:
5343
5344
# allow an actual np.nan thru
5345
if is_float(value) and np.isnan(value):
0 commit comments