Skip to content

Commit ccf634e

Browse files
authored
DOC: Minor formatting in user_guide/window (#40438)
1 parent 348d43f commit ccf634e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/source/user_guide/window.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ parameter:
168168
============= ====================
169169
Value Behavior
170170
============= ====================
171-
``right'`` close right endpoint
171+
``'right'`` close right endpoint
172172
``'left'`` close left endpoint
173173
``'both'`` close both endpoints
174174
``'neither'`` open endpoints
@@ -214,7 +214,7 @@ ending indices of the windows. Additionally, ``num_values``, ``min_periods``, ``
214214
and will automatically be passed to ``get_window_bounds`` and the defined method must
215215
always accept these arguments.
216216

217-
For example, if we have the following :class:``DataFrame``:
217+
For example, if we have the following :class:`DataFrame`
218218

219219
.. ipython:: python
220220
@@ -370,8 +370,8 @@ two :class:`Series` or any combination of :class:`DataFrame`/:class:`Series` or
370370
with the passed Series, thus returning a DataFrame.
371371
* :class:`DataFrame`/:class:`DataFrame`: by default compute the statistic for matching column
372372
names, returning a DataFrame. If the keyword argument ``pairwise=True`` is
373-
passed then computes the statistic for each pair of columns, returning a
374-
``MultiIndexed DataFrame`` whose ``index`` are the dates in question (see :ref:`the next section
373+
passed then computes the statistic for each pair of columns, returning a :class:`DataFrame` with a
374+
:class:`MultiIndex` whose values are the dates in question (see :ref:`the next section
375375
<window.corr_pairwise>`).
376376

377377
For example:

0 commit comments

Comments
 (0)