-
-
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 1 commit
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 import timedelta as td | ||
import gc | ||
import json | ||
import operator | ||
import pickle | ||
import re | ||
|
@@ -133,7 +132,7 @@ | |
from pandas.core import ( | ||
algorithms as algos, | ||
arraylike, | ||
common as com, | ||
common, | ||
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. does it work to just import the various functions from |
||
indexing, | ||
missing, | ||
nanops, | ||
|
@@ -6318,6 +6317,7 @@ def _convert( | |
self: NDFrameT, | ||
datetime: bool_t = False, | ||
numeric: 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 |
||
timedelta: bool_t = False, | ||
) -> NDFrameT: | ||
""" | ||
|
@@ -11538,7 +11538,7 @@ def ewm( | |
axis = self._get_axis_number(axis) | ||
return ExponentialMovingWindow( | ||
self, | ||
com=com, | ||
com=commmon, | ||
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 |
||
span=span, | ||
halflife=halflife, | ||
alpha=alpha, | ||
|
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.timedelta
work?