-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
STYLE enable pylint's redefined-outer-name #49671
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
Changes from 2 commits
eac9f7e
e0a9d0b
fa7390d
2ba7b20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,10 +134,9 @@ | |
is_valid_na_for_dtype, | ||
isna, | ||
) | ||
|
||
from pandas.core import ( | ||
missing as missing_func, | ||
arraylike, | ||
missing, | ||
ops, | ||
) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what was the issue with what you had before ( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The build pipeline failed at https://github.com/pandas-dev/pandas/actions/runs/3452096357/jobs/5761771671 which is failing still with missing_func. from pandas.core.missing import clean_reindex_fill_method worked locally but since pipeline failed , chaged it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it was fine, you just need to run There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks did run it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cool, should be good now thanks |
||
from pandas.core.accessor import CachedAccessor | ||
|
@@ -3650,7 +3649,7 @@ def get_indexer( | |
limit: int | None = None, | ||
tolerance=None, | ||
) -> npt.NDArray[np.intp]: | ||
method = missing.clean_reindex_fill_method(method) | ||
method = missing_func.clean_reindex_fill_method(method) | ||
orig_target = target | ||
target = self._maybe_cast_listlike_indexer(target) | ||
|
||
|
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.
would
import datetime as dt
(and thendt.datetime
,dt.timedelta
) work?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.
sounds good.