pandas.Series.as_blocks

Series.as_blocks()

Convert the frame to a dict of dtype -> Constructor Types that each has a homogeneous dtype.

NOTE: the dtypes of the blocks WILL BE PRESERVED HERE (unlike in
as_matrix)
Returns:values : a dict of dtype -> Constructor Types