File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
connectorx-python/connectorx Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -459,20 +459,16 @@ def reconstruct_pandas(df_infos: _DataframeInfos) -> pd.DataFrame:
459459 pd .core .internals .make_block (block_data , placement = binfo .cids )
460460 )
461461 elif binfo .dt == 1 : # IntegerArray
462- integer_array = pd .core .arrays .IntegerArray ._from_sequence (block_data [0 ])
463- integer_array ._mask = block_data [1 ]
464462 blocks .append (
465463 pd .core .internals .make_block (
466- integer_array ,
464+ pd . core . arrays . IntegerArray ( block_data [ 0 ], block_data [ 1 ]) ,
467465 placement = binfo .cids [0 ],
468466 )
469467 )
470468 elif binfo .dt == 2 : # BooleanArray
471- bool_array = pd .core .arrays .BooleanArray ._from_sequence (block_data [0 ])
472- bool_array ._mask = block_data [1 ]
473469 blocks .append (
474470 pd .core .internals .make_block (
475- bool_array ,
471+ pd . core . arrays . BooleanArray ( block_data [ 0 ], block_data [ 1 ]) ,
476472 placement = binfo .cids [0 ],
477473 )
478474 )
You can’t perform that action at this time.
0 commit comments