@unbox(SeriesType)
def unbox_series(typ, obj, c):
 index = c.pyapi.object_getattr_string(obj, '_index')
 values = c.pyapi.object_getattr_string(obj, '_values')
 series = make_series(c.context, c.builder, typ)
 series.index = c.unbox(typ.index, index).value
 series.values = c.unbox(typ.values, values).value
 return NativeValue(series._getvalue())

@ unbox ( SeriesType ) def unbox_series ( typ , obj , c ) : index = c . pyapi . object_getattr_string ( obj , '_index' ) values = c . pyapi . object_getattr_string ( obj , '_values' ) series = make_series ( c . context , c . builder , typ ) series . index = c . unbox ( typ . index , index ) . value series . values = c . unbox ( typ . values , values ) . value return NativeValue ( series . _getvalue ( ) )
convert a series object to a native structure .