Skip to content

Commit 54ce729

Browse files
authored
Update SparseDtype user guide doc (#35837)
* Update SparseDtype user guide doc * Reword
1 parent 2fd8021 commit 54ce729

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/source/user_guide/sparse.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,15 @@ The :attr:`SparseArray.dtype` property stores two pieces of information
8787
sparr.dtype
8888
8989
90-
A :class:`SparseDtype` may be constructed by passing each of these
90+
A :class:`SparseDtype` may be constructed by passing only a dtype
9191

9292
.. ipython:: python
9393
9494
pd.SparseDtype(np.dtype('datetime64[ns]'))
9595
96-
The default fill value for a given NumPy dtype is the "missing" value for that dtype,
97-
though it may be overridden.
96+
in which case a default fill value will be used (for NumPy dtypes this is often the
97+
"missing" value for that dtype). To override this default an explicit fill value may be
98+
passed instead
9899

99100
.. ipython:: python
100101

0 commit comments

Comments
 (0)