-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STY: Replace .format() to fstrings #30278
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
STY: Replace .format() to fstrings #30278
Conversation
@EydenVillanueva Thanks for the PR. can you merge master to resolve the merge conflicts. |
Done 👍 |
pandas/core/indexes/accessors.py
Outdated
f"cannot convert an object of type {type(data)} to a " | ||
"datetimelike index" | ||
"cannot convert an object of type {0} to a " | ||
"datetimelike index".format(type(data)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EydenVillanueva It looks like the merge undid some changes on master. can you merge again, see https://dev.pandas.io/docs/development/contributing.html#updating-your-pull-request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EydenVillanueva IIUC there should only be 3 or 4 files changed?
Yes, you're right. It should be fine now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm merge if happy @simonjayhawkins
Thanks @EydenVillanueva |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
#29547