diff --git a/pandas/__init__.py b/pandas/__init__.py index 535522253c415..7260b34630997 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -212,6 +212,7 @@ Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0), (to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries) but {pa_msg} +To resolve this warning, please specify the pyarrow extra during installation: pandas[pyarrow] If this would cause problems for you, please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466 """, # noqa: E501 diff --git a/pandas/tests/test_common.py b/pandas/tests/test_common.py index 00f6fe5dfe5d9..734abc0c0bf36 100644 --- a/pandas/tests/test_common.py +++ b/pandas/tests/test_common.py @@ -282,6 +282,7 @@ def test_pyarrow_missing_warn(module): Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0), (to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries) but was not found to be installed on your system. +To resolve this warning, please specify the pyarrow extra during installation: pandas[pyarrow] If this would cause problems for you, please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466 """ # noqa: E501 diff --git a/pyproject.toml b/pyproject.toml index a7cb87bbca4b7..a77dc6742371c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,6 +70,7 @@ aws = ['s3fs>=2022.11.0'] gcp = ['gcsfs>=2022.11.0', 'pandas-gbq>=0.19.0'] excel = ['odfpy>=1.4.1', 'openpyxl>=3.1.0', 'python-calamine>=0.1.7', 'pyxlsb>=1.0.10', 'xlrd>=2.0.1', 'xlsxwriter>=3.0.5'] parquet = ['pyarrow>=10.0.1'] +pyarrow = ['pyarrow>=10.0.1'] feather = ['pyarrow>=10.0.1'] hdf5 = [# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297) #'blosc>=1.20.1',