@@ -1911,8 +1911,10 @@ def from_items(cls, items, columns=None, orient="columns"):
19111911 raise ValueError ("'orient' must be either 'columns' or 'index'" )
19121912
19131913 @classmethod
1914- def _from_arrays (cls , arrays , columns , index , dtype = None ):
1915- mgr = arrays_to_mgr (arrays , columns , index , columns , dtype = dtype )
1914+ def _from_arrays (cls , arrays , columns , index , dtype = None , fastpath = False ):
1915+ mgr = arrays_to_mgr (
1916+ arrays , columns , index , columns , dtype = dtype , fastpath = fastpath
1917+ )
19161918 return cls (mgr )
19171919
19181920 def to_sparse (self , fill_value = None , kind = "block" ):
@@ -5294,6 +5296,13 @@ def reorder_levels(self, order, axis=0):
52945296 # ----------------------------------------------------------------------
52955297 # Arithmetic / combination related
52965298
5299+ def _get_arrays (self ):
5300+ res = []
5301+ for i in range (len (self .columns )):
5302+ values = self ._data .iget_values (i )
5303+ res .append (values )
5304+ return res
5305+
52975306 def _combine_frame (self , other , func , fill_value = None , level = None ):
52985307 this , other = self .align (other , join = "outer" , level = level , copy = False )
52995308 new_index , new_columns = this .index , this .columns
0 commit comments