@@ -103,7 +103,7 @@ left before or after the docstring. The text starts in the next line after the
103103opening quotes. The closing quotes have their own line
104104(meaning that they are not at the end of the last sentence).
105105
106- In rare occasions reST styles like bold text or itallics will be used in
106+ In rare occasions reST styles like bold text or italics will be used in
107107docstrings, but is it common to have inline code, which is presented between
108108backticks. It is considered inline code:
109109
@@ -513,7 +513,7 @@ instead of at the beginning, it is good to let the users know about it.
513513To give an intuition on what can be considered related, here there are some
514514examples:
515515
516- * ``loc `` and ``iloc ``, as they do the same, but in one case providing indices
516+ * ``loc `` and ``iloc ``, as they do the same, but in one case providing indexes
517517 and in the other positions
518518* ``max `` and ``min ``, as they do the opposite
519519* ``iterrows ``, ``itertuples `` and ``iteritems ``, as it is easy that a user
@@ -692,7 +692,7 @@ the standard library go first, followed by third-party libraries (like
692692matplotlib).
693693
694694When illustrating examples with a single ``Series `` use the name ``s ``, and if
695- illustrating with a single ``DataFrame `` use the name ``df ``. For indices ,
695+ illustrating with a single ``DataFrame `` use the name ``df ``. For indexes ,
696696``idx `` is the preferred name. If a set of homogeneous ``Series `` or
697697``DataFrame `` is used, name them ``s1 ``, ``s2 ``, ``s3 ``... or ``df1 ``,
698698``df2 ``, ``df3 ``... If the data is not homogeneous, and more than one structure
@@ -706,7 +706,7 @@ than 5, to show the example with the default values. If doing the ``mean``, we
706706could use something like ``[1, 2, 3] ``, so it is easy to see that the value
707707returned is the mean.
708708
709- For more complex examples (groupping for example), avoid using data without
709+ For more complex examples (grouping for example), avoid using data without
710710interpretation, like a matrix of random numbers with columns A, B, C, D...
711711And instead use a meaningful example, which makes it easier to understand the
712712concept. Unless required by the example, use names of animals, to keep examples
@@ -877,7 +877,7 @@ be tricky. Here are some attention points:
877877 the actual error only the error name is sufficient.
878878
879879* If there is a small part of the result that can vary (e.g. a hash in an object
880- represenation ), you can use ``... `` to represent this part.
880+ representation ), you can use ``... `` to represent this part.
881881
882882 If you want to show that ``s.plot() `` returns a matplotlib AxesSubplot object,
883883 this will fail the doctest ::
0 commit comments