#NEWLINE# def pandas_reconstruct( md , nd ) : #NEWLINE# #INDENT# ( shape , ndtype , index , columns ) = md #NEWLINE# ndarray = frombuffer ( nd , dtype = dtype ( ndtype ) ) . reshape ( shape ) #NEWLINE# return DataFrame ( data = ndarray , index = index , columns = index , dtype = None )