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

Method from_blocks

pandas/core/internals/managers.py:1144–1148  ·  view source on GitHub ↗

Constructor for BlockManager and SingleBlockManager with same signature.

(cls, blocks: list[Block], axes: list[Index])

Source from the content-addressed store, hash-verified

1142
1143 @classmethod
1144 def from_blocks(cls, blocks: list[Block], axes: list[Index]) -> Self:
1145 """
1146 Constructor for BlockManager and SingleBlockManager with same signature.
1147 """
1148 return cls(blocks, axes, verify_integrity=False)
1149
1150 # ----------------------------------------------------------------
1151 # Indexing

Callers 6

make_emptyMethod · 0.45
applyMethod · 0.45
_combineMethod · 0.45
reindex_indexerMethod · 0.45
grouped_reduceMethod · 0.45
reduceMethod · 0.45

Calls 1

clsFunction · 0.85

Tested by

no test coverage detected