Leaklens

pandas-dev__pandas-48847

BUG: `add_categories` does not honour `pd.StringDtype` of new categories (and downcasts to `object` instead)

Verdict: no gold-patch lines found in the issue text (rule check only, no model read).

No gold-patch lines found in the issue text (rule check only, no model read). Upstream fix commit c7623b37d0 dated 2022-09-29.

All SWE-Gym (training set sample) tasks · more pandas-dev/pandas tasks · How the check works · Report a correction