You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using an dtype of object is problematic as the Series can contain str and numeric values and a TypeError occurs essentially with operations like '2'+ 2. In the future (pandas 3) Series in DataFrames with text will default to the dtype string [pyarrow_numpy]:
Spyder was unable to retrieve the value of this variable from the console.
The error message was:
The 'pyarrow' package is required to open this variable. Unfortunately its not part of our installer, which means your variable can't be displayed by Spyder.
Note: Please don't report this problem on GitHub, there's nothing to do about it.
Although it says not to report, given this is going to be the future default behaviour of every Series with text. It is probably worthwhile adding pyarrow to the standalone installer and displaying the DataFrame (or Series or Index) in the same way as a DataFrame (or Series or Index) with dtype of object displays. Otherwise this error message will frequently occur when pandas version 3 is released.
The text was updated successfully, but these errors were encountered:
Currently a
Series
in aDataFrame
that has text has the dtypeobject
:And Spyder opens them as expected:
Using an dtype of
object
is problematic as theSeries
can containstr
and numeric values and aTypeError
occurs essentially with operations like'2'+ 2
. In the future (pandas 3) Series in DataFrames with text will default to the dtypestring [pyarrow_numpy]
:Unfortunately when this option is enabled in Spyder 6.0.4 (standalone) with a Miniforge conda environment:
And the
DataFrame
is opened, there is an error:Although it says not to report, given this is going to be the future default behaviour of every
Series
with text. It is probably worthwhile addingpyarrow
to the standalone installer and displaying theDataFrame
(orSeries
orIndex
) in the same way as aDataFrame
(orSeries
orIndex
) with dtype ofobject
displays. Otherwise this error message will frequently occur when pandas version 3 is released.The text was updated successfully, but these errors were encountered: