Skip to content

Commit bd70705

Browse files
BUG: Slice Arrow buffer before passing it to numpy (pandas-dev#40896)
Add whatsnew entry.
1 parent 5652869 commit bd70705

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/source/whatsnew/v1.3.0.rst

+1
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,7 @@ ExtensionArray
866866
- Fixed bug where :meth:`Series.idxmax`, :meth:`Series.idxmin` and ``argmax/min`` fail when the underlying data is :class:`ExtensionArray` (:issue:`32749`, :issue:`33719`, :issue:`36566`)
867867
- Fixed a bug where some properties of subclasses of :class:`PandasExtensionDtype` where improperly cached (:issue:`40329`)
868868
- Bug in :meth:`DataFrame.mask` where masking a :class:`Dataframe` with an :class:`ExtensionArray` dtype raises ``ValueError`` (:issue:`40941`)
869+
- Bug in :func:`pandas.core.arrays._arrow_utils.pyarrow_array_to_numpy_and_mask` where Numpy raises ``ValueError`` if buffer size does not match multiple of dtype size (:issue:`40896`)
869870

870871
Styler
871872
^^^^^^

0 commit comments

Comments
 (0)