BUG: maybe_convert_numeric fails with uint64 · Issue #14982 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@gfyoung

Description

@gfyoung

master at aba7d2:

from pandas import lib, np arr = np.array([2**63], dtype=object) lib.maybe_convert_numeric(arr, set()) ... OverflowError: Python int too large to convert to C long

At first, I thought the patch would be similar to #14916, but there are several complications here: