Skip to content

Commit 5df2f20

Browse files
committed
Update arrow_parser_wrapper.py
1 parent d6f3a5c commit 5df2f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parsers/arrow_parser_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def handle_warning(invalid_row) -> str:
148148
source_dtype = pandas_dtype(col_dtype)
149149

150150
try:
151-
target_dtype = to_pyarrow_type(source_dtype)
151+
target_dtype = to_pyarrow_type(source_dtype.type)
152152
if target_dtype:
153153
column_types[col] = target_dtype
154154

0 commit comments

Comments
 (0)