Skip to content

Commit e9c91f1

Browse files
authored
DOC: Remove repeated words and wrong /it's/ usage (#38047)
1 parent acdc94f commit e9c91f1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+62
-64
lines changed

doc/source/development/policies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ We will not introduce new deprecations in patch releases.
3535
Deprecations will only be enforced in **major** releases. For example, if a
3636
behavior is deprecated in pandas 1.2.0, it will continue to work, with a
3737
warning, for all releases in the 1.x series. The behavior will change and the
38-
deprecation removed in the next next major release (2.0.0).
38+
deprecation removed in the next major release (2.0.0).
3939

4040
.. note::
4141

doc/source/user_guide/dsintro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ Data Classes as introduced in `PEP557 <https://www.python.org/dev/peps/pep-0557>
439439
can be passed into the DataFrame constructor.
440440
Passing a list of dataclasses is equivalent to passing a list of dictionaries.
441441

442-
Please be aware, that that all values in the list should be dataclasses, mixing
442+
Please be aware, that all values in the list should be dataclasses, mixing
443443
types in the list would result in a TypeError.
444444

445445
.. ipython:: python

doc/source/user_guide/integer_na.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ dtype if needed.
117117
# coerce when needed
118118
s + 0.01
119119
120-
These dtypes can operate as part of of ``DataFrame``.
120+
These dtypes can operate as part of ``DataFrame``.
121121

122122
.. ipython:: python
123123

doc/source/whatsnew/v0.12.0.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ Bug fixes
419419
~~~~~~~~~
420420

421421
- Plotting functions now raise a ``TypeError`` before trying to plot anything
422-
if the associated objects have have a dtype of ``object`` (:issue:`1818`,
422+
if the associated objects have a dtype of ``object`` (:issue:`1818`,
423423
:issue:`3572`, :issue:`3911`, :issue:`3912`), but they will try to convert object arrays to
424424
numeric arrays if possible so that you can still plot, for example, an
425425
object array with floats. This happens before any drawing takes place which
@@ -430,8 +430,8 @@ Bug fixes
430430

431431
- ``Series.str`` now supports iteration (:issue:`3638`). You can iterate over the
432432
individual elements of each string in the ``Series``. Each iteration yields
433-
yields a ``Series`` with either a single character at each index of the
434-
original ``Series`` or ``NaN``. For example,
433+
a ``Series`` with either a single character at each index of the original
434+
``Series`` or ``NaN``. For example,
435435

436436
.. ipython:: python
437437
:okwarning:

doc/source/whatsnew/v0.14.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ Bug fixes
923923
- ``HDFStore.select_as_multiple`` handles start and stop the same way as ``select`` (:issue:`6177`)
924924
- ``HDFStore.select_as_coordinates`` and ``select_column`` works with a ``where`` clause that results in filters (:issue:`6177`)
925925
- Regression in join of non_unique_indexes (:issue:`6329`)
926-
- Issue with groupby ``agg`` with a single function and a a mixed-type frame (:issue:`6337`)
926+
- Issue with groupby ``agg`` with a single function and a mixed-type frame (:issue:`6337`)
927927
- Bug in ``DataFrame.replace()`` when passing a non- ``bool``
928928
``to_replace`` argument (:issue:`6332`)
929929
- Raise when trying to align on different levels of a MultiIndex assignment (:issue:`3738`)

doc/source/whatsnew/v0.15.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Enhancements
136136

137137
- Added ability to export Categorical data to Stata (:issue:`8633`). See :ref:`here <io.stata-categorical>` for limitations of categorical variables exported to Stata data files.
138138
- Added flag ``order_categoricals`` to ``StataReader`` and ``read_stata`` to select whether to order imported categorical data (:issue:`8836`). See :ref:`here <io.stata-categorical>` for more information on importing categorical variables from Stata data files.
139-
- Added ability to export Categorical data to to/from HDF5 (:issue:`7621`). Queries work the same as if it was an object array. However, the ``category`` dtyped data is stored in a more efficient manner. See :ref:`here <io.hdf5-categorical>` for an example and caveats w.r.t. prior versions of pandas.
139+
- Added ability to export Categorical data to/from HDF5 (:issue:`7621`). Queries work the same as if it was an object array. However, the ``category`` dtyped data is stored in a more efficient manner. See :ref:`here <io.hdf5-categorical>` for an example and caveats w.r.t. prior versions of pandas.
140140
- Added support for ``searchsorted()`` on ``Categorical`` class (:issue:`8420`).
141141

142142
Other enhancements:

doc/source/whatsnew/v0.16.1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Version 0.16.1 (May 11, 2015)
66
{{ header }}
77

88

9-
This is a minor bug-fix release from 0.16.0 and includes a a large number of
9+
This is a minor bug-fix release from 0.16.0 and includes a large number of
1010
bug fixes along several new features, enhancements, and performance improvements.
1111
We recommend that all users upgrade to this version.
1212

@@ -72,7 +72,7 @@ setting the index of a ``DataFrame/Series`` with a ``category`` dtype would conv
7272
Out[4]: Index(['c', 'a', 'b'], dtype='object')
7373
7474
75-
setting the index, will create create a ``CategoricalIndex``
75+
setting the index, will create a ``CategoricalIndex``
7676

7777
.. code-block:: ipython
7878

doc/source/whatsnew/v0.16.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Version 0.16.2 (June 12, 2015)
66
{{ header }}
77

88

9-
This is a minor bug-fix release from 0.16.1 and includes a a large number of
9+
This is a minor bug-fix release from 0.16.1 and includes a large number of
1010
bug fixes along some new features (:meth:`~DataFrame.pipe` method), enhancements, and performance improvements.
1111

1212
We recommend that all users upgrade to this version.

doc/source/whatsnew/v0.18.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ Subtraction by ``Timedelta`` in a ``Series`` by a ``Timestamp`` works (:issue:`1
610610
pd.Timestamp('2012-01-01') - ser
611611
612612
613-
``NaT.isoformat()`` now returns ``'NaT'``. This change allows allows
613+
``NaT.isoformat()`` now returns ``'NaT'``. This change allows
614614
``pd.Timestamp`` to rehydrate any timestamp like object from its isoformat
615615
(:issue:`12300`).
616616

doc/source/whatsnew/v0.20.0.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ Other API changes
11671167
- ``.loc`` has compat with ``.ix`` for accepting iterators, and NamedTuples (:issue:`15120`)
11681168
- ``interpolate()`` and ``fillna()`` will raise a ``ValueError`` if the ``limit`` keyword argument is not greater than 0. (:issue:`9217`)
11691169
- ``pd.read_csv()`` will now issue a ``ParserWarning`` whenever there are conflicting values provided by the ``dialect`` parameter and the user (:issue:`14898`)
1170-
- ``pd.read_csv()`` will now raise a ``ValueError`` for the C engine if the quote character is larger than than one byte (:issue:`11592`)
1170+
- ``pd.read_csv()`` will now raise a ``ValueError`` for the C engine if the quote character is larger than one byte (:issue:`11592`)
11711171
- ``inplace`` arguments now require a boolean value, else a ``ValueError`` is thrown (:issue:`14189`)
11721172
- ``pandas.api.types.is_datetime64_ns_dtype`` will now report ``True`` on a tz-aware dtype, similar to ``pandas.api.types.is_datetime64_any_dtype``
11731173
- ``DataFrame.asof()`` will return a null filled ``Series`` instead the scalar ``NaN`` if a match is not found (:issue:`15118`)
@@ -1663,11 +1663,11 @@ Indexing
16631663
- Bug in ``.reset_index()`` when an all ``NaN`` level of a ``MultiIndex`` would fail (:issue:`6322`)
16641664
- Bug in ``.reset_index()`` when raising error for index name already present in ``MultiIndex`` columns (:issue:`16120`)
16651665
- Bug in creating a ``MultiIndex`` with tuples and not passing a list of names; this will now raise ``ValueError`` (:issue:`15110`)
1666-
- Bug in the HTML display with with a ``MultiIndex`` and truncation (:issue:`14882`)
1666+
- Bug in the HTML display with a ``MultiIndex`` and truncation (:issue:`14882`)
16671667
- Bug in the display of ``.info()`` where a qualifier (+) would always be displayed with a ``MultiIndex`` that contains only non-strings (:issue:`15245`)
16681668
- Bug in ``pd.concat()`` where the names of ``MultiIndex`` of resulting ``DataFrame`` are not handled correctly when ``None`` is presented in the names of ``MultiIndex`` of input ``DataFrame`` (:issue:`15787`)
16691669
- Bug in ``DataFrame.sort_index()`` and ``Series.sort_index()`` where ``na_position`` doesn't work with a ``MultiIndex`` (:issue:`14784`, :issue:`16604`)
1670-
- Bug in in ``pd.concat()`` when combining objects with a ``CategoricalIndex`` (:issue:`16111`)
1670+
- Bug in ``pd.concat()`` when combining objects with a ``CategoricalIndex`` (:issue:`16111`)
16711671
- Bug in indexing with a scalar and a ``CategoricalIndex`` (:issue:`16123`)
16721672

16731673
IO

0 commit comments

Comments
 (0)