You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/03/08 12:49:00 UTC
[jira] [Created] (ARROW-15867) [Python] Ignored exception printed when pandas is not installed
Joris Van den Bossche created ARROW-15867:
---------------------------------------------
Summary: [Python] Ignored exception printed when pandas is not installed
Key: ARROW-15867
URL: https://issues.apache.org/jira/browse/ARROW-15867
Project: Apache Arrow
Issue Type: Bug
Components: Python
Reporter: Joris Van den Bossche
Fix For: 8.0.0
When you don't have pandas installed, you can get an "error" like
{code}
Exception ignored in: 'pyarrow.lib._PandasAPIShim._have_pandas_internal'
Traceback (most recent call last):
File "pyarrow/pandas-shim.pxi", line 110, in pyarrow.lib._PandasAPIShim._check_import
File "pyarrow/pandas-shim.pxi", line 59, in pyarrow.lib._PandasAPIShim._import_pandas
AttributeError: module 'pandas' has no attribute '__version__'
{code}
This is not an actual error that interrupts your Python session (it's an ignored exception), but we should of course still ensure to not print it.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)