Skip to content

Commit 672f5a1

Browse files
GuessWhoSamFoojorisvandenbossche
authored andcommitted
DOC: Remove repeated duplicated word (pandas-dev#19546)
1 parent ed10bf6 commit 672f5a1

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

doc/source/advanced.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ The ``CategoricalIndex`` is **preserved** after indexing:
672672
df2.loc['a'].index
673673
674674
Sorting the index will sort by the order of the categories (Recall that we
675-
created the index with with ``CategoricalDtype(list('cab'))``, so the sorted
675+
created the index with ``CategoricalDtype(list('cab'))``, so the sorted
676676
order is ``cab``.).
677677

678678
.. ipython:: python

doc/source/comparison_with_sas.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ date/datetime columns.
279279
280280
The equivalent pandas operations are shown below. In addition to these
281281
functions pandas supports other Time Series features
282-
not available in Base SAS (such as resampling and and custom offsets) -
282+
not available in Base SAS (such as resampling and custom offsets) -
283283
see the :ref:`timeseries documentation<timeseries>` for more details.
284284

285285
.. ipython:: python
@@ -584,7 +584,7 @@ For example, in SAS you could do this to filter missing values.
584584
if value_x ^= .;
585585
run;
586586
587-
Which doesn't work in in pandas. Instead, the ``pd.isna`` or ``pd.notna`` functions
587+
Which doesn't work in pandas. Instead, the ``pd.isna`` or ``pd.notna`` functions
588588
should be used for comparisons.
589589

590590
.. ipython:: python

doc/source/computation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ a same sized result as the input.
512512

513513
When using ``.resample()`` with an offset. Construct a new index that is the frequency of the offset. For each frequency
514514
bin, aggregate points from the input within a backwards-in-time looking window that fall in that bin. The result of this
515-
aggregation is the output for that frequency point. The windows are fixed size size in the frequency space. Your result
515+
aggregation is the output for that frequency point. The windows are fixed size in the frequency space. Your result
516516
will have the shape of a regular frequency between the min and the max of the original input object.
517517

518518
To summarize, ``.rolling()`` is a time-based window operation, while ``.resample()`` is a frequency-based window operation.

doc/source/io.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4529,7 +4529,7 @@ Several caveats.
45294529
on an attempt at serialization.
45304530

45314531
You can specify an ``engine`` to direct the serialization. This can be one of ``pyarrow``, or ``fastparquet``, or ``auto``.
4532-
If the engine is NOT specified, then the ``pd.options.io.parquet.engine`` option is checked; if this is also ``auto``, then
4532+
If the engine is NOT specified, then the ``pd.options.io.parquet.engine`` option is checked; if this is also ``auto``,
45334533
then ``pyarrow`` is tried, and falling back to ``fastparquet``.
45344534

45354535
See the documentation for `pyarrow <http://arrow.apache.org/docs/python/>`__ and `fastparquet <https://fastparquet.readthedocs.io/en/latest/>`__

doc/source/release.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ of all enhancements and bugs that have been fixed in 0.20.1.
406406

407407
.. note::
408408

409-
This is a combined release for 0.20.0 and and 0.20.1.
409+
This is a combined release for 0.20.0 and 0.20.1.
410410
Version 0.20.1 contains one additional change for backwards-compatibility with downstream projects using pandas' ``utils`` routines. (:issue:`16250`)
411411

412412
Thanks
@@ -2918,7 +2918,7 @@ Improvements to existing features
29182918
- clipboard functions use pyperclip (no dependencies on Windows, alternative
29192919
dependencies offered for Linux) (:issue:`3837`).
29202920
- Plotting functions now raise a ``TypeError`` before trying to plot anything
2921-
if the associated objects have have a dtype of ``object`` (:issue:`1818`,
2921+
if the associated objects have a dtype of ``object`` (:issue:`1818`,
29222922
:issue:`3572`, :issue:`3911`, :issue:`3912`), but they will try to convert object
29232923
arrays to numeric arrays if possible so that you can still plot, for example, an
29242924
object array with floats. This happens before any drawing takes place which
@@ -4082,7 +4082,7 @@ Bug Fixes
40824082
columns (:issue:`1943`)
40834083
- Fix time zone localization bug causing improper fields (e.g. hours) in time
40844084
zones that have not had a UTC transition in a long time (:issue:`1946`)
4085-
- Fix errors when parsing and working with with fixed offset timezones
4085+
- Fix errors when parsing and working with fixed offset timezones
40864086
(:issue:`1922`, :issue:`1928`)
40874087
- Fix text parser bug when handling UTC datetime objects generated by
40884088
dateutil (:issue:`1693`)
@@ -4383,7 +4383,7 @@ Bug Fixes
43834383
error (:issue:`1090`)
43844384
- Consistently set name on groupby pieces (:issue:`184`)
43854385
- Treat dict return values as Series in GroupBy.apply (:issue:`823`)
4386-
- Respect column selection for DataFrame in in GroupBy.transform (:issue:`1365`)
4386+
- Respect column selection for DataFrame in GroupBy.transform (:issue:`1365`)
43874387
- Fix MultiIndex partial indexing bug (:issue:`1352`)
43884388
- Enable assignment of rows in mixed-type DataFrame via .ix (:issue:`1432`)
43894389
- Reset index mapping when grouping Series in Cython (:issue:`1423`)
@@ -5040,7 +5040,7 @@ New Features
50405040
- Add `melt` function to `pandas.core.reshape`
50415041
- Add `level` parameter to group by level in Series and DataFrame
50425042
descriptive statistics (:issue:`313`)
5043-
- Add `head` and `tail` methods to Series, analogous to to DataFrame (PR
5043+
- Add `head` and `tail` methods to Series, analogous to DataFrame (PR
50445044
:issue:`296`)
50455045
- Add `Series.isin` function which checks if each value is contained in a
50465046
passed sequence (:issue:`289`)

doc/source/tutorials.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pandas Cookbook
1919
The goal of this cookbook (by `Julia Evans <http://jvns.ca>`_) is to
2020
give you some concrete examples for getting started with pandas. These
2121
are examples with real-world data, and all the bugs and weirdness that
22-
that entails.
22+
entails.
2323

2424
Here are links to the v0.1 release. For an up-to-date table of contents, see the `pandas-cookbook GitHub
2525
repository <http://github.com/jvns/pandas-cookbook>`_. To run the examples in this tutorial, you'll need to

0 commit comments

Comments
 (0)