Skip to content

Commit 72abfdf

Browse files
Fix typos found by codespell (pydata#8457)
1 parent 5355166 commit 72abfdf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/internals/interoperability.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ it is entirely possible today to:
3636
- track the physical units of the data through computations (e.g via `pint-xarray <https://pint-xarray.readthedocs.io/en/stable/>`_),
3737
- query the data via custom index logic optimized for specific applications (e.g. an :py:class:`~xarray.Index` object backed by a KDTree structure),
3838
- attach domain-specific logic via accessor methods (e.g. to understand geographic Coordinate Reference System metadata),
39-
- organize hierarchical groups of xarray data in a :py:class:`~datatree.DataTree` (e.g. to treat heterogenous simulation and observational data together during analysis).
39+
- organize hierarchical groups of xarray data in a :py:class:`~datatree.DataTree` (e.g. to treat heterogeneous simulation and observational data together during analysis).
4040

41-
All of these features can be provided simultaneously, using libaries compatible with the rest of the scientific python ecosystem.
41+
All of these features can be provided simultaneously, using libraries compatible with the rest of the scientific python ecosystem.
4242
In this situation xarray would be essentially a thin wrapper acting as pure-python framework, providing a common interface and
4343
separation of concerns via various domain-agnostic abstractions.
4444

xarray/core/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10075,7 +10075,7 @@ def groupby(
1007510075
Tutorial on :py:func:`~xarray.Dataset.Groupby` for windowed computation.
1007610076
1007710077
:doc:`xarray-tutorial:fundamentals/03.2_groupby_with_xarray`
10078-
Tutorial on :py:func:`~xarray.Dataset.Groupby` demonstrating reductions, transformation and comparision with :py:func:`~xarray.Dataset.resample`.
10078+
Tutorial on :py:func:`~xarray.Dataset.Groupby` demonstrating reductions, transformation and comparison with :py:func:`~xarray.Dataset.resample`.
1007910079
1008010080
Dataset.groupby_bins
1008110081
DataArray.groupby

xarray/tests/test_duck_array_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def test_reduce(dim_num, dtype, dask, func, skipna, aggdim):
500500
expected = getattr(da.compute(), func)(skipna=skipna, dim=aggdim)
501501
assert_allclose(actual, expected, rtol=rtol)
502502

503-
# make sure the compatiblility with pandas' results.
503+
# make sure the compatibility with pandas' results.
504504
if func in ["var", "std"]:
505505
expected = series_reduce(da, func, skipna=skipna, dim=aggdim, ddof=0)
506506
assert_allclose(actual, expected, rtol=rtol)

xarray/util/generate_aggregations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def generate_method(self, method):
350350

351351
yield TEMPLATE_RETURNS.format(**template_kwargs)
352352

353-
# we want Datset.count to refer to DataArray.count
353+
# we want Dataset.count to refer to DataArray.count
354354
# but we also want DatasetGroupBy.count to refer to Dataset.count
355355
# The generic aggregations have self.cls == ''
356356
others = (

0 commit comments

Comments
 (0)