Skip to content

Commit

Permalink
modify whatsnew
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Aug 10, 2022
1 parent 741098a commit 02e3aa4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions doc/source/whatsnew/v1.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ that are backed by a ``pyarrow.ChunkedArray`` and ``pyarrow.DataType``.

The ``dtype`` argument can accept a string of a `pyarrow data type <https://arrow.apache.org/docs/python/api/datatypes.html>`__
with ``pyarrow`` in brackets e.g. ``int64[pyarrow]`` or, for pyarrow data types that take parameters, a :class:`ArrowDtype`
initialized with a ``pyarrow.DataType``
initialized with a ``pyarrow.DataType``.

.. ipython:: python
Expand All @@ -46,16 +46,14 @@ initialized with a ``pyarrow.DataType``
ser_list = pd.Series([[1, 2], [3, None]], dtype=list_of_int_type)
ser_list
Most operations are supported and have been implemented using `pyarrow compute <https://arrow.apache.org/docs/python/api/compute.html>`__ functions.
We recommend installing the latest version of PyArrow to access the most recently implemented compute functions.

.. ipython:: python
ser_list.take([1, 0])
ser_float * 5
ser_float.mean()
ser_float.dropna()
Most operations are supported and have been implemented using `pyarrow compute <https://arrow.apache.org/docs/python/api/compute.html>`__ functions.
We recommend installing the latest version of PyArrow to access the most recently implemented compute functions.

.. _whatsnew_150.enhancements.dataframe_interchange:

DataFrame interchange protocol implementation
Expand Down

0 comments on commit 02e3aa4

Please sign in to comment.