pandas.Panel.to_sparse

Panel.to_sparse(fill_value=None, kind='block')

Convert to SparsePanel

Parameters:

fill_value : float, default NaN

kind : {‘block’, ‘integer’}

Returns:

y : SparseDataFrame