-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
for issue #49656 STYLE enable pylint's redefined-outer-name #49708
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
b1085e1
72adf83
bb32416
7b9a906
4cc4707
c271579
f39a955
625960a
d0e36dd
63b6458
8208ce7
356cb2e
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 |
---|---|---|
|
@@ -2,9 +2,8 @@ | |
from __future__ import annotations | ||
|
||
import collections | ||
from datetime import timedelta | ||
from datetime ad dt | ||
import gc | ||
import json | ||
import operator | ||
import pickle | ||
import re | ||
|
@@ -133,12 +132,12 @@ | |
from pandas.core import ( | ||
algorithms as algos, | ||
arraylike, | ||
common as com, | ||
indexing, | ||
missing, | ||
nanops, | ||
sample, | ||
) | ||
from pandas.core.common import get_rename_function as com | ||
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. no just
and then use likewise for any other |
||
from pandas.core.array_algos.replace import should_use_regex | ||
from pandas.core.arrays import ExtensionArray | ||
from pandas.core.base import PandasObject | ||
|
@@ -6318,7 +6317,8 @@ def _convert( | |
self: NDFrameT, | ||
datetime: bool_t = False, | ||
numeric: bool_t = False, | ||
timedelta: bool_t = False, | ||
# td: bool_t = False, | ||
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. remove this |
||
dt.timedelta: bool_t = False, | ||
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. this shouldn't change, it's a function argument |
||
) -> NDFrameT: | ||
""" | ||
Attempt to infer better dtype for object columns. | ||
|
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.
this isn't valid syntax...