@@ -1911,8 +1911,10 @@ def from_items(cls, items, columns=None, orient="columns"):
1911
1911
raise ValueError ("'orient' must be either 'columns' or 'index'" )
1912
1912
1913
1913
@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
+ )
1916
1918
return cls (mgr )
1917
1919
1918
1920
def to_sparse (self , fill_value = None , kind = "block" ):
@@ -5294,6 +5296,13 @@ def reorder_levels(self, order, axis=0):
5294
5296
# ----------------------------------------------------------------------
5295
5297
# Arithmetic / combination related
5296
5298
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
+
5297
5306
def _combine_frame (self , other , func , fill_value = None , level = None ):
5298
5307
this , other = self .align (other , join = "outer" , level = level , copy = False )
5299
5308
new_index , new_columns = this .index , this .columns
0 commit comments