BUG: Index.fillna silently ignoring 'downcast' kwarg by jbrockmendel · Pull Request #44873 · pandas-dev/pandas (original) (raw)

Decided to raise rather than silently give incorrect result. Haven't decided about deprecation, since there's an argument to be made for trying to make the downcast kwarg/behavior match Series.fillna (which is itself a can of worms).

Found along the way that CategoricalIndex.fillna can be removed; can make this a separate PR upon request.