Series.to_sparse()
pandas.Series.to_sparse
-
Series.to_sparse(kind='block', fill_value=None)
-
Convert Series to SparseSeries
Parameters: kind : {‘block’, ‘integer’}
fill_value : float, defaults to NaN (missing)
Returns: sp : SparseSeries
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development