class_docstr: Accessor for SparseSparse from other sparse matrix data types.
class_docstr_tok: ["Accessor","for","SparseSparse","from","other","sparse","matrix","data","types","."]
docstr: Convert a Series from sparse values to dense.
  
  Returns
  -------
  Series:
      A Series with the same values, stored as a dense array.
  
  Examples
  --------
  >>> series = pd.Series(pd.arrays.SparseArray([0, 1, 0]))
  >>> series
  0    0
  1    1
  2    0
  dtype: Sparse[int64, 0]
  
  >>> series.sparse.to_dense()
  0    0
  1    1
  2    0
  dtype: int64
docstr_tok: ["Convert","a","Series","from","sparse","values","to","dense",".","Returns","--","--","--","-","Series",":","A","Series","with","the","same","values",",","stored","as","a","dense","array",".","Examples","--","--","--","--",">",">",">","series","=","pd.Series","(","pd.arrays.SparseArray","(","[","0",",","1",",","0","]",")",")",">",">",">","series","0","0","1","1","2","0","dtype",":","Sparse","[","int64",",","0","]",">",">",">","series.sparse.to_dense","(",")","0","0","1","1","2","0","dtype",":","int64"]
code: def to_dense(self) -> Series:
      """
      Convert a Series from sparse values to dense.
  
      Returns
      -------
      Series:
          A Series with the same values, stored as a dense array.
  
      Examples
      --------
      >>> series = pd.Series(pd.arrays.SparseArray([0, 1, 0]))
      >>> series
      0    0
      1    1
      2    0
      dtype: Sparse[int64, 0]
  
      >>> series.sparse.to_dense()
      0    0
      1    1
      2    0
      dtype: int64
      """
      from pandas import Series
  
      return Series(
          self._parent.array.to_dense(),
          index=self._parent.index,
          name=self._parent.name,
          copy=False,
      )
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  import numpy
  from pandas.compat._optional import import_optional_dependency
  from pandas.core.dtypes.cast import find_common_type
  from pandas.core.accessor import PandasDelegate, delegate_names
  from pandas.core.arrays.sparse.array import SparseArray
  from pandas.core.arrays.sparse.dtype import SparseDtype
label_desc: Use image node_id 6 for calling the SparseAccessor obj's underlying member method code with example usage: obj.to_dense() and returns: Series