Skip to content

Commit 72c3888

Browse files
jschendeljorisvandenbossche
authored andcommitted
CLN: Fix Spelling Errors (#17535)
1 parent 9b21c54 commit 72c3888

36 files changed

+65
-65
lines changed

doc/source/advanced.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ Index Types
625625
We have discussed ``MultiIndex`` in the previous sections pretty extensively. ``DatetimeIndex`` and ``PeriodIndex``
626626
are shown :ref:`here <timeseries.overview>`. ``TimedeltaIndex`` are :ref:`here <timedeltas.timedeltas>`.
627627

628-
In the following sub-sections we will highlite some other index types.
628+
In the following sub-sections we will highlight some other index types.
629629

630630
.. _indexing.categoricalindex:
631631

@@ -645,7 +645,7 @@ and allows efficient indexing and storage of an index with a large number of dup
645645
df.dtypes
646646
df.B.cat.categories
647647
648-
Setting the index, will create create a ``CategoricalIndex``
648+
Setting the index, will create a ``CategoricalIndex``
649649

650650
.. ipython:: python
651651
@@ -681,7 +681,7 @@ Groupby operations on the index will preserve the index nature as well
681681
Reindexing operations, will return a resulting index based on the type of the passed
682682
indexer, meaning that passing a list will return a plain-old-``Index``; indexing with
683683
a ``Categorical`` will return a ``CategoricalIndex``, indexed according to the categories
684-
of the PASSED ``Categorical`` dtype. This allows one to arbitrarly index these even with
684+
of the PASSED ``Categorical`` dtype. This allows one to arbitrarily index these even with
685685
values NOT in the categories, similarly to how you can reindex ANY pandas index.
686686

687687
.. ipython :: python
@@ -722,7 +722,7 @@ Int64Index and RangeIndex
722722
Prior to 0.18.0, the ``Int64Index`` would provide the default index for all ``NDFrame`` objects.
723723
724724
``RangeIndex`` is a sub-class of ``Int64Index`` added in version 0.18.0, now providing the default index for all ``NDFrame`` objects.
725-
``RangeIndex`` is an optimized version of ``Int64Index`` that can represent a monotonic ordered set. These are analagous to python `range types <https://docs.python.org/3/library/stdtypes.html#typesseq-range>`__.
725+
``RangeIndex`` is an optimized version of ``Int64Index`` that can represent a monotonic ordered set. These are analogous to python `range types <https://docs.python.org/3/library/stdtypes.html#typesseq-range>`__.
726726
727727
.. _indexing.float64index:
728728
@@ -963,7 +963,7 @@ index can be somewhat complicated. For example, the following does not work:
963963
s.loc['c':'e'+1]
964964
965965
A very common use case is to limit a time series to start and end at two
966-
specific dates. To enable this, we made the design design to make label-based
966+
specific dates. To enable this, we made the design to make label-based
967967
slicing include both endpoints:
968968
969969
.. ipython:: python

doc/source/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ Index
12911291
-----
12921292

12931293
**Many of these methods or variants thereof are available on the objects
1294-
that contain an index (Series/Dataframe) and those should most likely be
1294+
that contain an index (Series/DataFrame) and those should most likely be
12951295
used before calling these methods directly.**
12961296

12971297
.. autosummary::

doc/source/basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ Passing a named function will yield that name for the row:
923923
Aggregating with a dict
924924
+++++++++++++++++++++++
925925

926-
Passing a dictionary of column names to a scalar or a list of scalars, to ``DataFame.agg``
926+
Passing a dictionary of column names to a scalar or a list of scalars, to ``DataFrame.agg``
927927
allows you to customize which functions are applied to which columns. Note that the results
928928
are not in any particular order, you can use an ``OrderedDict`` instead to guarantee ordering.
929929

doc/source/computation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ aggregation with, outputting a DataFrame:
654654
655655
r['A'].agg([np.sum, np.mean, np.std])
656656
657-
On a widowed DataFrame, you can pass a list of functions to apply to each
657+
On a windowed DataFrame, you can pass a list of functions to apply to each
658658
column, which produces an aggregated result with a hierarchical index:
659659

660660
.. ipython:: python

doc/source/groupby.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ must be either implemented on GroupBy or available via :ref:`dispatching
561561
562562
.. note::
563563

564-
If you pass a dict to ``aggregate``, the ordering of the output colums is
564+
If you pass a dict to ``aggregate``, the ordering of the output columns is
565565
non-deterministic. If you want to be sure the output columns will be in a specific
566566
order, you can use an ``OrderedDict``. Compare the output of the following two commands:
567567

@@ -1211,7 +1211,7 @@ Groupby by Indexer to 'resample' data
12111211

12121212
Resampling produces new hypothetical samples (resamples) from already existing observed data or from a model that generates data. These new samples are similar to the pre-existing samples.
12131213

1214-
In order to resample to work on indices that are non-datetimelike , the following procedure can be utilized.
1214+
In order to resample to work on indices that are non-datetimelike, the following procedure can be utilized.
12151215

12161216
In the following examples, **df.index // 5** returns a binary array which is used to determine what gets selected for the groupby operation.
12171217

doc/source/indexing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ Finally, one can also set a seed for ``sample``'s random number generator using
714714
Setting With Enlargement
715715
------------------------
716716

717-
The ``.loc/[]`` operations can perform enlargement when setting a non-existant key for that axis.
717+
The ``.loc/[]`` operations can perform enlargement when setting a non-existent key for that axis.
718718

719719
In the ``Series`` case this is effectively an appending operation
720720

doc/source/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3077,7 +3077,7 @@ Compressed pickle files
30773077

30783078
.. versionadded:: 0.20.0
30793079

3080-
:func:`read_pickle`, :meth:`DataFame.to_pickle` and :meth:`Series.to_pickle` can read
3080+
:func:`read_pickle`, :meth:`DataFrame.to_pickle` and :meth:`Series.to_pickle` can read
30813081
and write compressed pickle files. The compression types of ``gzip``, ``bz2``, ``xz`` are supported for reading and writing.
30823082
`zip`` file supports read only and must contain only one data file
30833083
to be read in.

doc/source/merging.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ By default we are taking the asof of the quotes.
13291329
on='time',
13301330
by='ticker')
13311331
1332-
We only asof within ``2ms`` betwen the quote time and the trade time.
1332+
We only asof within ``2ms`` between the quote time and the trade time.
13331333

13341334
.. ipython:: python
13351335
@@ -1338,8 +1338,8 @@ We only asof within ``2ms`` betwen the quote time and the trade time.
13381338
by='ticker',
13391339
tolerance=pd.Timedelta('2ms'))
13401340
1341-
We only asof within ``10ms`` betwen the quote time and the trade time and we exclude exact matches on time.
1342-
Note that though we exclude the exact matches (of the quotes), prior quotes DO propogate to that point
1341+
We only asof within ``10ms`` between the quote time and the trade time and we exclude exact matches on time.
1342+
Note that though we exclude the exact matches (of the quotes), prior quotes DO propagate to that point
13431343
in time.
13441344

13451345
.. ipython:: python

doc/source/missing_data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Interpolation
320320

321321
The ``limit_direction`` keyword argument was added.
322322

323-
Both Series and Dataframe objects have an ``interpolate`` method that, by default,
323+
Both Series and DataFrame objects have an ``interpolate`` method that, by default,
324324
performs linear interpolation at missing datapoints.
325325

326326
.. ipython:: python

doc/source/options.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ display.large_repr truncate For DataFrames exceeding max_ro
313313
display.latex.repr False Whether to produce a latex DataFrame
314314
representation for jupyter frontends
315315
that support it.
316-
display.latex.escape True Escapes special caracters in Dataframes, when
316+
display.latex.escape True Escapes special characters in DataFrames, when
317317
using the to_latex method.
318-
display.latex.longtable False Specifies if the to_latex method of a Dataframe
318+
display.latex.longtable False Specifies if the to_latex method of a DataFrame
319319
uses the longtable format.
320320
display.latex.multicolumn True Combines columns when using a MultiIndex
321321
display.latex.multicolumn_format 'l' Alignment of multicolumn labels

0 commit comments

Comments
 (0)