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
Discussed overriding is_scalar on the dev call yesterday. General agreement to attempt this long-term. Shorter-term we are moving away from using is_scalar internally, and in fact the usage from the OP is gone. Can you confirm whether the motivating bug still exists?
jbrockmendel
changed the title
BUG: ExtensionArray TestMethods.test_where_series
BUG: ExtensionArray TestMethods.test_where_series (override is_scalar)
Jul 27, 2023
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I'm working on updating pint-pandas to 0.25.1 before the latest version...
(optional) I have confirmed this bug exists on the master branch of pandas.
Code Sample, a copy-pastable example
Problem description
I'm having trouble with this test as pandas is trying to index into a scalar. I believe this is because this line returns false:
pandas/pandas/core/internals/blocks.py
Line 1831 in 185a654
Expected Output
Output of
pd.show_versions()
INSTALLED VERSIONS
commit : None
python : 3.7.7.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 0.25.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.1.3.post20200330
Cython : 0.29.15
pytest : 5.4.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.2.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
The text was updated successfully, but these errors were encountered: