Skip to content

CLN: .format to f-string formatting in various files #30294

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

Merged
merged 3 commits into from
Dec 17, 2019

Conversation

kpmccahill
Copy link
Contributor

@kpmccahill kpmccahill commented Dec 16, 2019

@gfyoung gfyoung added the Code Style Code style, linting, code_checks label Dec 17, 2019
@gfyoung
Copy link
Member

gfyoung commented Dec 17, 2019

@kpmccahill : Thanks for opening this PR! And welcome to pandas! 🚀

The changes look pretty good overall. I have one question about them that's directed towards fellow maintainers as you can see above.

@kpmccahill
Copy link
Contributor Author

@gfyoung

I have one question about them that's directed towards fellow maintainers as you can see above.

Thanks! And I'm gonna be honest I wasn't too sure about that one myself for the same reason you mentioned. But I thought I'd give it a go anyways just to see.

@@ -388,7 +388,7 @@ class option_context:
Examples
--------

>>> with option_context('display.max_rows', 10, 'display.max_columns', 5):
with option_context('display.max_rows', 10, 'display.max_columns', 5):
Copy link
Member

Choose a reason for hiding this comment

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

What happened here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought those were some characters I had accidentally added, but now that I look at the master I realize they're supposed to be there, oops

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for the clean up!

@WillAyd WillAyd added this to the 1.0 milestone Dec 17, 2019
@WillAyd WillAyd merged commit 2208c40 into pandas-dev:master Dec 17, 2019
@WillAyd
Copy link
Member

WillAyd commented Dec 17, 2019

Thanks @kpmccahill !

proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants