Skip to content

Commit 5f40d7d

Browse files
authored
Revert "ENH: Add ORC reader (#29447)"
This reverts commit 9b202d3.
1 parent db60c79 commit 5f40d7d

14 files changed

+4
-307
lines changed

doc/source/getting_started/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ matplotlib 2.2.2 Visualization
258258
openpyxl 2.4.8 Reading / writing for xlsx files
259259
pandas-gbq 0.8.0 Google Big Query access
260260
psycopg2 PostgreSQL engine for sqlalchemy
261-
pyarrow 0.12.0 Parquet, ORC (requires 0.13.0), and feather reading / writing
261+
pyarrow 0.12.0 Parquet and feather reading / writing
262262
pymysql 0.7.11 MySQL engine for sqlalchemy
263263
pyreadstat SPSS files (.sav) reading
264264
pytables 3.4.2 HDF5 reading / writing

doc/source/reference/io.rst

-7
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,6 @@ Parquet
9898

9999
read_parquet
100100

101-
ORC
102-
~~~
103-
.. autosummary::
104-
:toctree: api/
105-
106-
read_orc
107-
108101
SAS
109102
~~~
110103
.. autosummary::

doc/source/user_guide/io.rst

+3-12
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ The pandas I/O API is a set of top level ``reader`` functions accessed like
2828
binary;`HDF5 Format <https://support.hdfgroup.org/HDF5/whatishdf5.html>`__;:ref:`read_hdf<io.hdf5>`;:ref:`to_hdf<io.hdf5>`
2929
binary;`Feather Format <https://github.com/wesm/feather>`__;:ref:`read_feather<io.feather>`;:ref:`to_feather<io.feather>`
3030
binary;`Parquet Format <https://parquet.apache.org/>`__;:ref:`read_parquet<io.parquet>`;:ref:`to_parquet<io.parquet>`
31-
binary;`ORC Format <//https://orc.apache.org/>`__;:ref:`read_orc<io.orc>`;
3231
binary;`Msgpack <https://msgpack.org/index.html>`__;:ref:`read_msgpack<io.msgpack>`;:ref:`to_msgpack<io.msgpack>`
3332
binary;`Stata <https://en.wikipedia.org/wiki/Stata>`__;:ref:`read_stata<io.stata_reader>`;:ref:`to_stata<io.stata_writer>`
3433
binary;`SAS <https://en.wikipedia.org/wiki/SAS_(software)>`__;:ref:`read_sas<io.sas_reader>`;
@@ -4859,17 +4858,6 @@ The above example creates a partitioned dataset that may look like:
48594858
except OSError:
48604859
pass
48614860
4862-
.. _io.orc:
4863-
4864-
ORC
4865-
---
4866-
4867-
.. versionadded:: 1.0.0
4868-
4869-
Similar to the :ref:`parquet <io.parquet>` format, the `ORC Format <//https://orc.apache.org/>`__ is a binary columnar serialization
4870-
for data frames. It is designed to make reading data frames efficient. Pandas provides *only* a reader for the
4871-
ORC format, :func:`~pandas.read_orc`. This requires the `pyarrow <https://arrow.apache.org/docs/python/>`__ library.
4872-
48734861
.. _io.sql:
48744862

48754863
SQL queries
@@ -5773,3 +5761,6 @@ Space on disk (in bytes)
57735761
24009288 Oct 10 06:43 test_fixed_compress.hdf
57745762
24458940 Oct 10 06:44 test_table.hdf
57755763
24458940 Oct 10 06:44 test_table_compress.hdf
5764+
5765+
5766+

pandas/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@
168168
# misc
169169
read_clipboard,
170170
read_parquet,
171-
read_orc,
172171
read_feather,
173172
read_gbq,
174173
read_html,

pandas/io/api.py

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from pandas.io.gbq import read_gbq
1111
from pandas.io.html import read_html
1212
from pandas.io.json import read_json
13-
from pandas.io.orc import read_orc
1413
from pandas.io.packers import read_msgpack, to_msgpack
1514
from pandas.io.parquet import read_parquet
1615
from pandas.io.parsers import read_csv, read_fwf, read_table

pandas/io/orc.py

-57
This file was deleted.

pandas/tests/api/test_api.py

-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ class TestPDApi(Base):
167167
"read_table",
168168
"read_feather",
169169
"read_parquet",
170-
"read_orc",
171170
"read_spss",
172171
]
173172

Binary file not shown.
-523 Bytes
Binary file not shown.
-1.67 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

pandas/tests/io/test_orc.py

-227
This file was deleted.

0 commit comments

Comments
 (0)