Skip to content

Commit 74e4539

Browse files
committed
Remove unused import that was causing a lint error
1 parent 101e7e5 commit 74e4539

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/strings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,6 +1912,8 @@ def rindex(self, sub, start=0, end=None):
19121912
docstring=_shared_docs['ismethods'] %
19131913
_shared_docs['isdecimal'])
19141914

1915+
# TODO: Should we explicitly subclass PandasDelegate to clarify its role,
1916+
# even though it isn't actually needed?
19151917
# TODO: Use this instead of wrapping all of these methods individually?
19161918
def _delegate_method(self, name, *args, **kwargs):
19171919
# TODO: It would be really nice to keep the signatures

pandas/tests/test_strings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,8 +2690,6 @@ def test_str_cat_raises_intuitive_error(self):
26902690
s.str.cat(' ')
26912691

26922692
def test_index_str_accessor_visibility(self):
2693-
from pandas.core.strings import StringMethods
2694-
26952693
if not compat.PY3:
26962694
cases = [(['a', 'b'], 'string'), (['a', u('b')], 'mixed'),
26972695
([u('a'), u('b')], 'unicode'),

0 commit comments

Comments
 (0)