Skip to content

Commit 4195bfb

Browse files
CLN: Fix common spelling mistakes (#32895)
1 parent 447a595 commit 4195bfb

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

+60
-62
lines changed

asv_bench/benchmarks/rolling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Methods:
1111
["int", "float"],
1212
["median", "mean", "max", "min", "std", "count", "skew", "kurt", "sum"],
1313
)
14-
param_names = ["contructor", "window", "dtype", "method"]
14+
param_names = ["constructor", "window", "dtype", "method"]
1515

1616
def setup(self, constructor, window, dtype, method):
1717
N = 10 ** 5
@@ -72,7 +72,7 @@ class ExpandingMethods:
7272
["int", "float"],
7373
["median", "mean", "max", "min", "std", "count", "skew", "kurt", "sum"],
7474
)
75-
param_names = ["contructor", "window", "dtype", "method"]
75+
param_names = ["constructor", "window", "dtype", "method"]
7676

7777
def setup(self, constructor, dtype, method):
7878
N = 10 ** 5
@@ -86,7 +86,7 @@ def time_expanding(self, constructor, dtype, method):
8686
class EWMMethods:
8787

8888
params = (["DataFrame", "Series"], [10, 1000], ["int", "float"], ["mean", "std"])
89-
param_names = ["contructor", "window", "dtype", "method"]
89+
param_names = ["constructor", "window", "dtype", "method"]
9090

9191
def setup(self, constructor, window, dtype, method):
9292
N = 10 ** 5
@@ -104,7 +104,7 @@ class VariableWindowMethods(Methods):
104104
["int", "float"],
105105
["median", "mean", "max", "min", "std", "count", "skew", "kurt", "sum"],
106106
)
107-
param_names = ["contructor", "window", "dtype", "method"]
107+
param_names = ["constructor", "window", "dtype", "method"]
108108

109109
def setup(self, constructor, window, dtype, method):
110110
N = 10 ** 5

ci/azure/posix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
ENV_FILE: ci/deps/azure-36-locale_slow.yaml
2525
CONDA_PY: "36"
2626
PATTERN: "slow"
27-
# pandas does not use the language (zh_CN), but should support diferent encodings (utf8)
27+
# pandas does not use the language (zh_CN), but should support different encodings (utf8)
2828
# we should test with encodings different than utf8, but doesn't seem like Ubuntu supports any
2929
LANG: "zh_CN.utf8"
3030
LC_ALL: "zh_CN.utf8"

doc/source/getting_started/intro_tutorials/02_read_write.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ The method :meth:`~DataFrame.info` provides technical information about a
225225
<div class="d-flex flex-row bg-light gs-torefguide">
226226
<span class="badge badge-info">To user guide</span>
227227

228-
For a complete overview of the input and output possibilites from and to pandas, see the user guide section about :ref:`reader and writer functions <io>`.
228+
For a complete overview of the input and output possibilities from and to pandas, see the user guide section about :ref:`reader and writer functions <io>`.
229229

230230
.. raw:: html
231231

doc/source/getting_started/intro_tutorials/03_subset_data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ And have a look at the ``shape`` of the output:
101101
102102
titanic["Age"].shape
103103
104-
:attr:`DataFrame.shape` is an attribute (remember :ref:`tutorial on reading and writing <10min_tut_02_read_write>`, do not use parantheses for attributes) of a
104+
:attr:`DataFrame.shape` is an attribute (remember :ref:`tutorial on reading and writing <10min_tut_02_read_write>`, do not use parentheses for attributes) of a
105105
pandas ``Series`` and ``DataFrame`` containing the number of rows and
106106
columns: *(nrows, ncolumns)*. A pandas Series is 1-dimensional and only
107107
the number of rows is returned.

doc/source/getting_started/intro_tutorials/08_combine_dataframes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ index. For example:
165165
.. note::
166166
The existence of multiple row/column indices at the same time
167167
has not been mentioned within these tutorials. *Hierarchical indexing*
168-
or *MultiIndex* is an advanced and powerfull pandas feature to analyze
168+
or *MultiIndex* is an advanced and powerful pandas feature to analyze
169169
higher dimensional data.
170170

171171
Multi-indexing is out of scope for this pandas introduction. For the

doc/source/getting_started/intro_tutorials/10_text_data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Which passenger of the titanic has the longest name?
188188
189189
titanic["Name"].str.len()
190190
191-
To get the longest name we first have to get the lenghts of each of the
191+
To get the longest name we first have to get the lengths of each of the
192192
names in the ``Name`` column. By using pandas string methods, the
193193
:meth:`Series.str.len` function is applied to each of the names individually
194194
(element-wise).

doc/source/user_guide/dsintro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ From a list of dataclasses
406406

407407
Data Classes as introduced in `PEP557 <https://www.python.org/dev/peps/pep-0557>`__,
408408
can be passed into the DataFrame constructor.
409-
Passing a list of dataclasses is equivilent to passing a list of dictionaries.
409+
Passing a list of dataclasses is equivalent to passing a list of dictionaries.
410410

411411
Please be aware, that that all values in the list should be dataclasses, mixing
412412
types in the list would result in a TypeError.

doc/source/user_guide/indexing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ For getting values with a boolean array:
374374
df1.loc['a'] > 0
375375
df1.loc[:, df1.loc['a'] > 0]
376376
377-
NA values in a boolean array propogate as ``False``:
377+
NA values in a boolean array propagate as ``False``:
378378

379379
.. versionchanged:: 1.0.2
380380

doc/source/user_guide/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5005,7 +5005,7 @@ Possible values are:
50055005
This usually provides better performance for analytic databases
50065006
like *Presto* and *Redshift*, but has worse performance for
50075007
traditional SQL backend if the table contains many columns.
5008-
For more information check the SQLAlchemy `documention
5008+
For more information check the SQLAlchemy `documentation
50095009
<https://docs.sqlalchemy.org/en/latest/core/dml.html#sqlalchemy.sql.expression.Insert.values.params.*args>`__.
50105010
- callable with signature ``(pd_table, conn, keys, data_iter)``:
50115011
This can be used to implement a more performant insertion method based on

doc/source/user_guide/scale.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Inspecting the ``ddf`` object, we see a few things
259259
* There are familiar methods like ``.groupby``, ``.sum``, etc.
260260
* There are new attributes like ``.npartitions`` and ``.divisions``
261261

262-
The partitions and divisions are how Dask parallizes computation. A **Dask**
262+
The partitions and divisions are how Dask parallelizes computation. A **Dask**
263263
DataFrame is made up of many **Pandas** DataFrames. A single method call on a
264264
Dask DataFrame ends up making many pandas method calls, and Dask knows how to
265265
coordinate everything to get the result.

0 commit comments

Comments
 (0)