MCPcopy
hub / github.com/pandas-dev/pandas / _maybe_squeeze_arg

Method _maybe_squeeze_arg

pandas/core/internals/blocks.py:943–947  ·  view source on GitHub ↗

For compatibility with 1D-only ExtensionArrays.

(self, arg: np.ndarray)

Source from the content-addressed store, hash-verified

941 # but not ExtensionBlock
942
943 def _maybe_squeeze_arg(self, arg: np.ndarray) -> np.ndarray:
944 """
945 For compatibility with 1D-only ExtensionArrays.
946 """
947 return arg
948
949 def _unwrap_setitem_indexer(self, indexer):
950 """

Callers 3

setitemMethod · 0.45
whereMethod · 0.45
putmaskMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected