Skip to content

Commit 638284c

Browse files
author
MarcoGorelli
committed
revert
1 parent 56bf5fd commit 638284c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/io/parsers/base_parser.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,9 +1234,7 @@ def _isindex(colspec):
12341234
continue
12351235
# Pyarrow engine returns Series which we need to convert to
12361236
# numpy array before converter, its a no-op for other parsers
1237-
inp = np.asarray(data_dict[colspec])
1238-
res = converter(inp)
1239-
data_dict[colspec] = res
1237+
data_dict[colspec] = converter(np.asarray(data_dict[colspec]))
12401238
else:
12411239
new_name, col, old_names = _try_convert_dates(
12421240
converter, colspec, data_dict, orig_names

0 commit comments

Comments
 (0)