Skip to content

Commit 9ee3325

Browse files
authored
DOC: document read_orc columns order behaviour (pandas-dev#49709)
1 parent 450f051 commit 9ee3325

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/io/orc.py

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ def read_orc(
4747
``file://localhost/path/to/table.orc``.
4848
columns : list, default None
4949
If not None, only these columns will be read from the file.
50+
Output always follows the ordering of the file and not the columns list.
51+
This mirrors the original behaviour of
52+
:external+pyarrow:py:meth:`pyarrow.orc.ORCFile.read`.
5053
**kwargs
5154
Any additional kwargs are passed to pyarrow.
5255

0 commit comments

Comments
 (0)