-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Open
Labels
Arrowpyarrow functionalitypyarrow functionalityBugNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionStringsString extension data type and string dataString extension data type and string data
Description
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
Note that this example produces output:
In [10]: import pandas as pd
...: import pyarrow as pa
...:
...: ser = pd.Series(["foo", "longer_than_binary_prefix", ''], dtype=pd.ArrowDtype(pa.string_view()))
In [11]: ser
Out[11]:
0 foo
1 longer_than_binary_prefix
2
dtype: string_view[pyarrow]
While this does not:
In [12]: import pandas as pd
...: import pyarrow as pa
...:
...: ser = pd.Series(["foo", "longer_than_binary_prefix", None], dtype=pd.ArrowDtype(pa.string_view()))
In [13]: ser
Out[13]:
This might actually be an upstream bug with pyarrow (@jorisvandenbossche typically knows best)
### Issue Description
Values are not printing
### Expected Behavior
Values should print
### Installed Versions
In [14]: pa.__version__
Out[14]: '17.0.0'
In [15]: pd.__version__
Out[15]: '2.2.3+44.g3dfa33cf2d'
Metadata
Metadata
Assignees
Labels
Arrowpyarrow functionalitypyarrow functionalityBugNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionStringsString extension data type and string dataString extension data type and string data