Skip to content

Commit a6de249

Browse files
committed
Remove a min_version
1 parent 50d2fd3 commit a6de249

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/source/getting_started/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Installable with ``pip install "pandas[computation]"``.
210210
Dependency Minimum Version pip extra Notes
211211
============================================== ================== =============== =======================================
212212
`SciPy <https://github.com/scipy/scipy>`__ 1.12.0 computation Miscellaneous statistical functions
213-
`xarray <https://github.com/pydata/xarray>`__ 2024.1.1 computation pandas-like API for N-dimensional data
213+
`xarray <https://github.com/pydata/xarray>`__ 2024.1.1 computation pandas-like API for N-dimensional data
214214
============================================== ================== =============== =======================================
215215

216216
.. _install.excel_dependencies:

pandas/io/orc.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ def to_orc(
211211

212212
if engine != "pyarrow":
213213
raise ValueError("engine must be 'pyarrow'")
214-
pyarrow = import_optional_dependency(engine, min_version="10.0.1")
215214
pa = import_optional_dependency("pyarrow")
216215
orc = import_optional_dependency("pyarrow.orc")
217216

@@ -222,7 +221,7 @@ def to_orc(
222221
with get_handle(path, "wb", is_text=False) as handles:
223222
try:
224223
orc.write_table(
225-
pyarrow.Table.from_pandas(df, preserve_index=index),
224+
pa.Table.from_pandas(df, preserve_index=index),
226225
handles.handle,
227226
**engine_kwargs,
228227
)

0 commit comments

Comments
 (0)