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
+
<p>Note: To display only the last component of the linked class, method or
128
+
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> will
129
+
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> as the
130
+
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