<commit_before>.. image:: _static/dataset-diagram-logo.png
   :width: 300 px
   :align: center

|

N-D labeled arrays and datasets in Python
=========================================

**xarray** (formerly **xray**) is an open source project and Python package
that aims to bring the labeled data power of pandas_ to the physical sciences,
by providing N-dimensional variants of the core pandas data structures.

Our goal is to provide a pandas-like and pandas-compatible toolkit for
analytics on multi-dimensional arrays, rather than the tabular data for which
pandas excels. Our approach adopts the `Common Data Model`_ for self-
describing scientific data in widespread use in the Earth sciences:
``xarray.Dataset`` is an in-memory representation of a netCDF file.

.. note::

   xray is now xarray! See :ref:`the v0.7.0 release notes<whats-new.0.7.0>`
   for more details. The preferred URL for these docs is now
   http://xarray.pydata.org.

.. _pandas: http://pandas.pydata.org
.. _Common Data Model: http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/CDM
.. _netCDF: http://www.unidata.ucar.edu/software/netcdf
.. _OPeNDAP: http://www.opendap.org/

Documentation
-------------

**Getting Started**

* :doc:`why-xarray`
* :doc:`faq`
* :doc:`examples`
* :doc:`installing`

.. toctree::
   :maxdepth: 1
   :hidden:
   :caption: Getting Started

   why-xarray
   faq
   examples
   installing

**User Guide**

* :doc:`data-structures`
* :doc:`indexing`
* :doc:`computation`<commit_msg>Remove note about xray from docs index (#2000)<commit_after>.. image:: _static/dataset-diagram-logo.png
   :width: 300 px
   :align: center

|

N-D labeled arrays and datasets in Python
=========================================

**xarray** (formerly **xray**) is an open source project and Python package
that aims to bring the labeled data power of pandas_ to the physical sciences,
by providing N-dimensional variants of the core pandas data structures.

Our goal is to provide a pandas-like and pandas-compatible toolkit for
analytics on multi-dimensional arrays, rather than the tabular data for which
pandas excels. Our approach adopts the `Common Data Model`_ for self-
describing scientific data in widespread use in the Earth sciences:
``xarray.Dataset`` is an in-memory representation of a netCDF file.

.. _pandas: http://pandas.pydata.org
.. _Common Data Model: http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/CDM
.. _netCDF: http://www.unidata.ucar.edu/software/netcdf
.. _OPeNDAP: http://www.opendap.org/

Documentation
-------------

**Getting Started**

* :doc:`why-xarray`
* :doc:`faq`
* :doc:`examples`
* :doc:`installing`

.. toctree::
   :maxdepth: 1
   :hidden:
   :caption: Getting Started

   why-xarray
   faq
   examples
   installing

**User Guide**

* :doc:`data-structures`
* :doc:`indexing`
* :doc:`computation`
{'fraction_non_alphanumeric': 0.1487574378718936, 'fraction_numerical': 0.006300315015750788, 'mean_word_length': 3.9965034965034967, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '564555', 'n_tokens_mistral': 946, 'n_tokens_neox': 900, 'n_words': 298}