Skip to content

Commit e16471a

Browse files
albertvillanovafeefladder
authored andcommitted
Fix cross-references in docs (pandas-dev#42949)
* Fix cross-reference * Fix cross-reference typo * Add cross-reference
1 parent 2f9885f commit e16471a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/source/development/extending.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extension array for IP Address data, this might be ``ipaddress.IPv4Address``.
106106

107107
See the `extension dtype source`_ for interface definition.
108108

109-
:class:`pandas.api.extension.ExtensionDtype` can be registered to pandas to allow creation via a string dtype name.
109+
:class:`pandas.api.extensions.ExtensionDtype` can be registered to pandas to allow creation via a string dtype name.
110110
This allows one to instantiate ``Series`` and ``.astype()`` with a registered string name, for
111111
example ``'category'`` is a registered string accessor for the ``CategoricalDtype``.
112112

@@ -125,7 +125,7 @@ data. We do require that your array be convertible to a NumPy array, even if
125125
this is relatively expensive (as it is for ``Categorical``).
126126

127127
They may be backed by none, one, or many NumPy arrays. For example,
128-
``pandas.Categorical`` is an extension array backed by two arrays,
128+
:class:`pandas.Categorical` is an extension array backed by two arrays,
129129
one for codes and one for categories. An array of IPv6 addresses may
130130
be backed by a NumPy structured array with two fields, one for the
131131
lower 64 bits and one for the upper 64 bits. Or they may be backed

doc/source/user_guide/sparse.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ To convert back to sparse SciPy matrix in COO format, you can use the :meth:`Dat
294294
295295
sdf.sparse.to_coo()
296296
297-
meth:`Series.sparse.to_coo` is implemented for transforming a ``Series`` with sparse values indexed by a :class:`MultiIndex` to a :class:`scipy.sparse.coo_matrix`.
297+
:meth:`Series.sparse.to_coo` is implemented for transforming a ``Series`` with sparse values indexed by a :class:`MultiIndex` to a :class:`scipy.sparse.coo_matrix`.
298298

299299
The method requires a ``MultiIndex`` with two or more levels.
300300

0 commit comments

Comments
 (0)