Skip to content

BUG: The var SIGNED_INT_PYARROW_DTYPES has incorrect data types #48471

Closed
@gsheni

Description

@gsheni

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

Metadata

Metadata

Assignees

Labels

Arrowpyarrow functionalityBugTestingpandas testing functions or related to the test suite

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions