Skip to content

Commit

Permalink
Fix documentation typos (#3396)
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-jeronimo authored and crusaderky committed Oct 13, 2019
1 parent 863e490 commit ae1d8c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions doc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ natively represented as an array with four dimensions: time, row, column and
color.

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

- You need to create a new factory type for each dimensionality.
Expand Down
8 changes: 4 additions & 4 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Enhancements

- Added a ``GroupBy.dims`` property that mirrors the dimensions
of each group.(:issue:`3344`)

- Speed up :meth:`Dataset.isel` up to 33% and :meth:`DataArray.isel` up to 25% for small
arrays (:issue:`2799`, :pull:`3375`) by
`Guido Imperiale <https://github.com/crusaderky>`_.
Expand Down Expand Up @@ -107,8 +107,8 @@ Documentation
By `Deepak Cherian <https://github.com/dcherian/>`_.
- Add examples for :py:meth:`Dataset.swap_dims` and :py:meth:`DataArray.swap_dims`.
By `Justus Magin <https://github.com/keewis>`_.
- Add examples for :py:meth:`align`, :py:meth:`merge`, :py:meth:`combine_by_coords`,
:py:meth:`full_like`, :py:meth:`zeros_like`, :py:meth:`ones_like`, :py:meth:`Dataset.pipe`,
- Add examples for :py:meth:`align`, :py:meth:`merge`, :py:meth:`combine_by_coords`,
:py:meth:`full_like`, :py:meth:`zeros_like`, :py:meth:`ones_like`, :py:meth:`Dataset.pipe`,
:py:meth:`Dataset.assign`, :py:meth:`Dataset.reindex`, :py:meth:`Dataset.fillna`.
By `Anderson Banihirwe <https://github.com/andersy005>`_.
- Fixed documentation to clean up an unwanted file created in ``ipython`` example
Expand Down Expand Up @@ -3740,7 +3740,7 @@ Enhancements

.. ipython:: python
ds = xray.Dataset({'tmin': ([], 25, {'units': 'celcius'})})
ds = xray.Dataset({'tmin': ([], 25, {'units': 'celsius'})})
ds.tmin.units
Tab-completion for these variables should work in editors such as IPython.
Expand Down
4 changes: 2 additions & 2 deletions doc/why-xarray.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The power of the dataset over a plain dictionary is that, in addition to
pulling out arrays by name, it is possible to select or combine data along a
dimension across all arrays simultaneously. Like a
:py:class:`~pandas.DataFrame`, datasets facilitate array operations with
heterogeneous data -- the difference is that the arrays in a dataset can have
heterogeneous data -- the difference is that the arrays in a dataset can have
not only different data types, but also different numbers of dimensions.

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

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

0 comments on commit ae1d8c7

Please sign in to comment.