Skip to content

BUG: The var SIGNED_INT_PYARROW_DTYPES has incorrect data types #48471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
gsheni opened this issue Sep 8, 2022 · 1 comment · Fixed by #48457
Closed
3 tasks done

BUG: The var SIGNED_INT_PYARROW_DTYPES has incorrect data types #48471

gsheni opened this issue Sep 8, 2022 · 1 comment · Fixed by #48457
Assignees
Labels
Arrow pyarrow functionality Bug Testing pandas testing functions or related to the test suite

Comments

@gsheni
Copy link
Contributor

gsheni commented Sep 8, 2022

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

import pyarrow as pa
import pandas as pd
from pandas._testing import SIGNED_INT_PYARROW_DTYPES, UNSIGNED_INT_PYARROW_DTYPES

for pa_dtype in SIGNED_INT_PYARROW_DTYPES:
    assert pa.types.is_signed_integer(pa_dtype)

for pa_dtype in UNSIGNED_INT_PYARROW_DTYPES:
    assert pa.types.is_unsigned_integer(pa_dtype)

Issue Description

There is unsigned data types in SIGNED_INT_PYARROW_DTYPES

Expected Behavior

No unsigned data types in SIGNED_INT_PYARROW_DTYPES

Installed Versions

INSTALLED VERSIONS

commit : 224458e
python : 3.9.13.final.0
python-bits : 64
OS : Darwin
OS-release : 21.6.0
Version : Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000
machine : arm64
processor : arm
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8

pandas : 1.5.0rc0
numpy : 1.23.2
pytz : 2022.2.1
dateutil : 2.8.2
setuptools : 65.3.0
pip : 22.2.2
Cython : None
pytest : 7.1.3
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.1.2
IPython : 8.5.0
pandas_datareader: None
bs4 : None
bottleneck : None
brotli : None
fastparquet : None
fsspec : 2022.8.2
gcsfs : None
matplotlib : 3.5.3
numba : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 9.0.0
pyreadstat : None
pyxlsb : None
s3fs : None
scipy : 1.9.1
snappy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
zstandard : None
tzdata : None

@gsheni gsheni added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Sep 8, 2022
@datapythonista datapythonista added Arrow pyarrow functionality and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Sep 8, 2022
@gsheni
Copy link
Contributor Author

gsheni commented Sep 8, 2022

take

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Bug Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants