W3cubDocs

/pandas 0.25

pandas.Series.as_blocks

Series.as_blocks(self, copy=True) [source]

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

Deprecated since version 0.21.0.

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

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Series.as_blocks.html