Skip to content

Commit ae1d8c7

Browse files
crypto-jeronimocrusaderky
authored andcommitted
Fix documentation typos (#3396)
1 parent 863e490 commit ae1d8c7

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

doc/faq.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ natively represented as an array with four dimensions: time, row, column and
5555
color.
5656

5757
Pandas has historically supported N-dimensional panels, but deprecated them in
58-
version 0.20 in favor of Xarray data structures. There are now built-in methods
59-
on both sides to convert between pandas and Xarray, allowing for more focussed
60-
development effort. Xarray objects have a much richer model of dimensionality -
58+
version 0.20 in favor of Xarray data structures. There are now built-in methods
59+
on both sides to convert between pandas and Xarray, allowing for more focused
60+
development effort. Xarray objects have a much richer model of dimensionality -
6161
if you were using Panels:
6262

6363
- You need to create a new factory type for each dimensionality.

doc/whats-new.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Enhancements
7575

7676
- Added a ``GroupBy.dims`` property that mirrors the dimensions
7777
of each group.(:issue:`3344`)
78-
78+
7979
- Speed up :meth:`Dataset.isel` up to 33% and :meth:`DataArray.isel` up to 25% for small
8080
arrays (:issue:`2799`, :pull:`3375`) by
8181
`Guido Imperiale <https://github.com/crusaderky>`_.
@@ -107,8 +107,8 @@ Documentation
107107
By `Deepak Cherian <https://github.com/dcherian/>`_.
108108
- Add examples for :py:meth:`Dataset.swap_dims` and :py:meth:`DataArray.swap_dims`.
109109
By `Justus Magin <https://github.com/keewis>`_.
110-
- Add examples for :py:meth:`align`, :py:meth:`merge`, :py:meth:`combine_by_coords`,
111-
:py:meth:`full_like`, :py:meth:`zeros_like`, :py:meth:`ones_like`, :py:meth:`Dataset.pipe`,
110+
- Add examples for :py:meth:`align`, :py:meth:`merge`, :py:meth:`combine_by_coords`,
111+
:py:meth:`full_like`, :py:meth:`zeros_like`, :py:meth:`ones_like`, :py:meth:`Dataset.pipe`,
112112
:py:meth:`Dataset.assign`, :py:meth:`Dataset.reindex`, :py:meth:`Dataset.fillna`.
113113
By `Anderson Banihirwe <https://github.com/andersy005>`_.
114114
- Fixed documentation to clean up an unwanted file created in ``ipython`` example
@@ -3740,7 +3740,7 @@ Enhancements
37403740

37413741
.. ipython:: python
37423742
3743-
ds = xray.Dataset({'tmin': ([], 25, {'units': 'celcius'})})
3743+
ds = xray.Dataset({'tmin': ([], 25, {'units': 'celsius'})})
37443744
ds.tmin.units
37453745
37463746
Tab-completion for these variables should work in editors such as IPython.

doc/why-xarray.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The power of the dataset over a plain dictionary is that, in addition to
6767
pulling out arrays by name, it is possible to select or combine data along a
6868
dimension across all arrays simultaneously. Like a
6969
:py:class:`~pandas.DataFrame`, datasets facilitate array operations with
70-
heterogeneous data -- the difference is that the arrays in a dataset can have
70+
heterogeneous data -- the difference is that the arrays in a dataset can have
7171
not only different data types, but also different numbers of dimensions.
7272

7373
This data model is borrowed from the netCDF_ file format, which also provides
@@ -87,7 +87,7 @@ Xarray contributes domain-agnostic data-structures and tools for labeled
8787
multi-dimensional arrays to Python's SciPy_ ecosystem for numerical computing.
8888
In particular, xarray builds upon and integrates with NumPy_ and pandas_:
8989

90-
- Our user-facing interfaces aim to be more explicit verisons of those found in
90+
- Our user-facing interfaces aim to be more explicit versions of those found in
9191
NumPy/pandas.
9292
- Compatibility with the broader ecosystem is a major goal: it should be easy
9393
to get your data in and out.

0 commit comments

Comments
 (0)