Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pandas/_libs/lib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2725,6 +2725,7 @@ def maybe_convert_objects(ndarray[object] objects,
# e.g. test_out_of_s_bounds_datetime64
seen.object_ = True
break
break
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears we can remove the 4 breaks here with:

if convert_non_numeric:
    ...
else:
   ...
break

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure will update

else:
seen.object_ = True
break
Expand Down
Loading