Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Series.asobject, Index.asobject, rename to _asobject #18237

Closed
TomAugspurger opened this issue Nov 12, 2017 · 2 comments · Fixed by #18572
Closed

Deprecate Series.asobject, Index.asobject, rename to _asobject #18237

TomAugspurger opened this issue Nov 12, 2017 · 2 comments · Fixed by #18572
Labels
API Design Deprecate Functionality to remove in pandas
Milestone

Comments

@TomAugspurger
Copy link
Contributor

In [13]: pd.Series.asobject?
Type:        property
String form: <property object at 0x10b674548>
Docstring:
return object Series which contains boxed values

*this is an internal non-public method*

Let's make it private then.

@TomAugspurger TomAugspurger added this to the Next Major Release milestone Nov 12, 2017
@jreback
Copy link
Contributor

jreback commented Nov 12, 2017

this is for compat with Index; should do the same there

we actually don’t need this method but that’s for another issue

@TomAugspurger TomAugspurger changed the title Deprecate Series.asobject, rename to Series._asobject Deprecate Series.asobject, Index.asobject, rename to _asobject Nov 12, 2017
@jorisvandenbossche
Copy link
Member

Is the alternative to do astype(object) ?

+1 on deprecating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Design Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants