Skip to content

Commit 02e3aa4

Browse files
committed
modify whatsnew
1 parent 741098a commit 02e3aa4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

doc/source/whatsnew/v1.5.0.rst

+4-6
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ that are backed by a ``pyarrow.ChunkedArray`` and ``pyarrow.DataType``.
3434

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

3939
.. ipython:: python
4040
@@ -46,16 +46,14 @@ initialized with a ``pyarrow.DataType``
4646
ser_list = pd.Series([[1, 2], [3, None]], dtype=list_of_int_type)
4747
ser_list
4848
49-
Most operations are supported and have been implemented using `pyarrow compute <https://arrow.apache.org/docs/python/api/compute.html>`__ functions.
50-
We recommend installing the latest version of PyArrow to access the most recently implemented compute functions.
51-
52-
.. ipython:: python
53-
5449
ser_list.take([1, 0])
5550
ser_float * 5
5651
ser_float.mean()
5752
ser_float.dropna()
5853
54+
Most operations are supported and have been implemented using `pyarrow compute <https://arrow.apache.org/docs/python/api/compute.html>`__ functions.
55+
We recommend installing the latest version of PyArrow to access the most recently implemented compute functions.
56+
5957
.. _whatsnew_150.enhancements.dataframe_interchange:
6058

6159
DataFrame interchange protocol implementation

0 commit comments

Comments
 (0)