Skip to content

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

Closed
@TomAugspurger

Description

@TomAugspurger
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.

Activity

added this to the Next Major Release milestone on Nov 12, 2017
jreback

jreback commented on Nov 12, 2017

@jreback
Contributor

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

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

changed the title [-]Deprecate Series.asobject, rename to Series._asobject[/-] [+]Deprecate Series.asobject, Index.asobject, rename to _asobject[/+] on Nov 12, 2017
jorisvandenbossche

jorisvandenbossche commented on Nov 13, 2017

@jorisvandenbossche
Member

Is the alternative to do astype(object) ?

+1 on deprecating

modified the milestones: Next Major Release, 0.22.0 on Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @jreback@jorisvandenbossche@TomAugspurger

      Issue actions

        Deprecate Series.asobject, Index.asobject, rename to _asobject · Issue #18237 · pandas-dev/pandas