#NEWLINE# def pandasts_reduce( df ) : #NEWLINE# #INDENT# index = df . index . tolist ( ) #NEWLINE# ndtype = df . values . dtype . name #NEWLINE# shape = ndtype . values . shape #NEWLINE# nd = buffer ( df . values ) #NEWLINE# md = ( shape , ndtype , index ) #NEWLINE# return ( md , nd )