You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>A pandas class (in the form <codeclass="docutils literal notranslate"><spanclass="pre">:class:`~pandas.Series`</span></code>)</li>
123
+
<li>A pandas class (in the form <codeclass="docutils literal notranslate"><spanclass="pre">:class:`pandas.Series`</span></code>)</li>
124
124
<li>A pandas method (in the form <codeclass="docutils literal notranslate"><spanclass="pre">:meth:`pandas.Series.sum`</span></code>)</li>
125
125
<li>A pandas function (in the form <codeclass="docutils literal notranslate"><spanclass="pre">:func:`pandas.to_datetime`</span></code>)</li>
126
126
</ul>
127
+
<divclass="admonition note">
128
+
<pclass="first admonition-title">Note</p>
129
+
<pclass="last">To display only the last component of the linked class, method or
130
+
function, prefix it with <codeclass="docutils literal notranslate"><spanclass="pre">~</span></code>. For example, <codeclass="docutils literal notranslate"><spanclass="pre">:class:`~pandas.Series`</span></code>
131
+
will link to <codeclass="docutils literal notranslate"><spanclass="pre">pandas.Series</span></code> but only display the last part, <codeclass="docutils literal notranslate"><spanclass="pre">Series</span></code>
132
+
as the link text. See <aclass="reference external" href="http://www.sphinx-doc.org/en/stable/domains.html#cross-referencing-syntax">Sphinx cross-referencing syntax</a>
0 commit comments