From bf2f1dfe8932da2dfda13613db29104e4e754345 Mon Sep 17 00:00:00 2001 From: PLSeuJ <91902355+PLSeuJ@users.noreply.github.com> Date: Wed, 18 May 2022 22:14:34 +0200 Subject: [PATCH 1/3] concatenate docs style added and highlighted keywords as in the chapters on merge and combine. --- doc/user-guide/combining.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/user-guide/combining.rst b/doc/user-guide/combining.rst index 06dc11cea10..30375050691 100644 --- a/doc/user-guide/combining.rst +++ b/doc/user-guide/combining.rst @@ -22,10 +22,10 @@ Combining data Concatenate ~~~~~~~~~~~ -To combine arrays along existing or new dimension into a larger array, you -can use :py:func:`~xarray.concat`. ``concat`` takes an iterable of ``DataArray`` -or ``Dataset`` objects, as well as a dimension name, and concatenates along -that dimension: +To combine ``datasets``/``data arrays`` along an existing or new dimension +into a larger set/array, you can use :py:func:`~xarray.concat`. ``concat`` +takes an iterable of ``DataArray`` or ``Dataset`` objects, as well as a +dimension name, and concatenates along that dimension: .. ipython:: python From 035eb1a6af975b812f456da7cdf0d91b7907efc5 Mon Sep 17 00:00:00 2001 From: PLSeuJ <91902355+PLSeuJ@users.noreply.github.com> Date: Wed, 18 May 2022 23:45:19 +0200 Subject: [PATCH 2/3] Update doc/user-guide/combining.rst Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> --- doc/user-guide/combining.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user-guide/combining.rst b/doc/user-guide/combining.rst index 30375050691..8636d4330e6 100644 --- a/doc/user-guide/combining.rst +++ b/doc/user-guide/combining.rst @@ -22,7 +22,7 @@ Combining data Concatenate ~~~~~~~~~~~ -To combine ``datasets``/``data arrays`` along an existing or new dimension +To combine :py:class:`~xarray.Dataset`s / :py:class:`~xarray.DataArray`s along an existing or new dimension into a larger set/array, you can use :py:func:`~xarray.concat`. ``concat`` takes an iterable of ``DataArray`` or ``Dataset`` objects, as well as a dimension name, and concatenates along that dimension: From d3a73a0adde8d7d96e1633bd36d5b8bdf0df2632 Mon Sep 17 00:00:00 2001 From: PLSeuJ <91902355+PLSeuJ@users.noreply.github.com> Date: Wed, 18 May 2022 23:46:33 +0200 Subject: [PATCH 3/3] Update doc/user-guide/combining.rst Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> --- doc/user-guide/combining.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user-guide/combining.rst b/doc/user-guide/combining.rst index 8636d4330e6..1dad2009665 100644 --- a/doc/user-guide/combining.rst +++ b/doc/user-guide/combining.rst @@ -23,7 +23,7 @@ Concatenate ~~~~~~~~~~~ To combine :py:class:`~xarray.Dataset`s / :py:class:`~xarray.DataArray`s along an existing or new dimension -into a larger set/array, you can use :py:func:`~xarray.concat`. ``concat`` +into a larger object, you can use :py:func:`~xarray.concat`. ``concat`` takes an iterable of ``DataArray`` or ``Dataset`` objects, as well as a dimension name, and concatenates along that dimension: