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