DEPR: Deprecate ravel by phofl · Pull Request #56053 · pandas-dev/pandas (original) (raw)
or just "dont do it bc it isnt necessary"?
That's not necessarily correct. If you rely on the current return value, i.e. if your code requires that the object is a 1D numpy array, and you currently use ravel
for that, you do need to replace ravel with a conversion to numpy.
(and that's actually how we were implicitly using it internally)