DEPR: deprecate publicfacing .asobject by topper-123 · Pull Request #18477 · pandas-dev/pandas (original) (raw)
It you follow the call chain down it translates to ser._data.blocks[0].values.astype(object)
. So I'd say it should be "use .values.astype(object)
", which is an ndarray, while .astype(object)
returns a Series.
I'll use the form.values.astype(object)
, unless you comment