BUG: maybe_convert_numeric fails with uint64 (original) (raw)

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: