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

REF: Delegate more methods for DTI/TDI/PI #30607

Merged
merged 3 commits into from
Jan 2, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

pandas/core/indexes/datetimes.py Show resolved Hide resolved
@@ -445,7 +445,7 @@ def _formatter(self, boxed=False):

return _get_format_timedelta64(self, box=True)

def _format_native_types(self, na_rep="NaT", date_format=None):
def _format_native_types(self, na_rep="NaT", date_format=None, **kwargs):
Copy link
Contributor

Choose a reason for hiding this comment

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

do we actually use these kwargs (i know they are on the method you are removing)?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, without this we get a test failure bc float_format is passed

Copy link
Contributor

Choose a reason for hiding this comment

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

ahh i c, as these are fairly generic, ok then.

@jreback jreback added the Refactor Internal refactoring of code label Jan 2, 2020
@jreback jreback added this to the 1.0 milestone Jan 2, 2020
@jreback jreback merged commit 9871bdd into pandas-dev:master Jan 2, 2020
@jbrockmendel jbrockmendel deleted the cln-idxs branch January 2, 2020 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants