Skip to content

Commit fa4eb11

Browse files
add whatsnew note
1 parent 5cccaab commit fa4eb11

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ Other enhancements
232232
- Support reading Stata 102-format (Stata 1) dta files (:issue:`58978`)
233233
- Support reading Stata 110-format (Stata 7) dta files (:issue:`47176`)
234234
- Switched wheel upload to **PyPI Trusted Publishing** (OIDC) for release-tag pushes in ``wheels.yml``. (:issue:`61718`)
235-
-
235+
- Added a new :meth:`DataFrame.from_arrow` method to import any Arrow-compatible
236+
tabular data object into a pandas :class:`DataFrame` through the
237+
`Arrow PyCapsule Protocol <https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html>`__ (:issue:`59631`)
236238

237239
.. ---------------------------------------------------------------------------
238240
.. _whatsnew_300.notable_bug_fixes:

pandas/_typing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,3 +574,4 @@ def __arrow_c_stream__(self, requested_schema: object | None = None) -> object:
574574

575575

576576
__all__ = ["type_t"]
577+
4

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@ def from_arrow(
18411841
"""
18421842
Construct a DataFrame from a tabular Arrow object.
18431843
1844-
This function accepts any tabular Arrow object implementing
1844+
This function accepts any Arrow-compatible tabular object implementing
18451845
the `Arrow PyCapsule Protocol`_ (i.e. having an ``__arrow_c_array__``
18461846
or ``__arrow_c_stream__`` method).
18471847

0 commit comments

Comments
 (0)