Skip to content

Commit a7d37cd

Browse files
committed
Fix action
1 parent ad5f841 commit a7d37cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/io/json/_json.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,7 @@ def read(self) -> DataFrame | Series:
945945
fields = [
946946
(field, pandas_dtype(dtype).pyarrow_dtype)
947947
for field, dtype in self.dtype.items()
948+
if isinstance(pandas_dtype(dtype), ArrowDtype)
948949
]
949950
schema = pa.schema(fields)
950951
pa_table = pyarrow_json.read_json(

0 commit comments

Comments
 (0)