Skip to content

Conversation

jbrockmendel
Copy link
Member

No description provided.

@jbrockmendel jbrockmendel added Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code labels Feb 29, 2020
Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jbrockmendel while refactoring, may be worth adding annotations to to_timestamp and to_period

@simonjayhawkins simonjayhawkins added this to the 1.1 milestone Mar 2, 2020

return self._constructor(new_data)
setattr(new_obj, axis_name, new_ax)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could use set_axis(..., axis=) instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

either way works

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. @jorisvandenbossche comment, be either way is ok. merge away.

@WillAyd WillAyd merged commit dcd86e5 into pandas-dev:master Mar 4, 2020
@WillAyd
Copy link
Member

WillAyd commented Mar 4, 2020

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the set_axis2 branch March 4, 2020 01:04
sthagen added a commit to sthagen/pandas-dev-pandas that referenced this pull request Mar 4, 2020
REF: avoid using internals methods for to_timestamp, to_period (pandas-dev#32347)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants