Skip to content

CLN: f-string in pandas/core/accessor.py and pandas/core/algorithms.py #30120

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 2 commits into from
Dec 7, 2019

Conversation

ganevgv
Copy link
Contributor

@ganevgv ganevgv commented Dec 6, 2019

@ganevgv ganevgv marked this pull request as ready for review December 7, 2019 00:20
"Cannot use method '{method}' with "
"dtype {dtype}".format(method=method, dtype=dtype)
)
raise TypeError(f"Cannot use method '{method}' with " f"dtype {dtype}")
Copy link
Member

Choose a reason for hiding this comment

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

This can just be one string - can you fix implicit concatenation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @WillAyd - sorry, my bad. It's fixed now.

@WillAyd WillAyd added the Code Style Code style, linting, code_checks label Dec 7, 2019
@WillAyd WillAyd added this to the 1.0 milestone Dec 7, 2019
@WillAyd WillAyd merged commit 32f572f into pandas-dev:master Dec 7, 2019
@WillAyd
Copy link
Member

WillAyd commented Dec 7, 2019

Thanks @ganevgv

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.

2 participants