Skip to content

REF: remove unused variable and checks #59463

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
Aug 13, 2024

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@@ -158,15 +158,8 @@ def f(self):
# these return a boolean by-definition
return result

if field in self._object_ops:
Copy link
Member

Choose a reason for hiding this comment

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

Can _object_ops be in-lined in _datetimelike_ops now since this usage is removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think so. Will update.

@mroeschke mroeschke added the Refactor Internal refactoring of code label Aug 9, 2024
@jorisvandenbossche
Copy link
Member

jorisvandenbossche commented Aug 11, 2024

@jbrockmendel should this be backported along with your previous PRs touching _str_map? I assume this one is not critical because just a small cleanup, but for avoiding conflicts if you make further changes to those methods, better to backport as well? (if so, then this is a small reminder to please include "string dtype" in your PR title to make it a bit easier to find the commits/PRs, although we should maybe start using a 2.3 milestone to keep track of this as well)

@jbrockmendel
Copy link
Member Author

This doesnt need backport, no.

@mroeschke mroeschke added this to the 3.0 milestone Aug 13, 2024
@mroeschke mroeschke merged commit 6423ee8 into pandas-dev:main Aug 13, 2024
47 checks passed
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the ref-convert branch August 13, 2024 18:32
@jorisvandenbossche jorisvandenbossche modified the milestones: 3.0, 2.3 Aug 20, 2024
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.

3 participants