8000 TYP: libinterval by jbrockmendel · Pull Request #41059 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TYP: libinterval #41059

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

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into typ-interval
  • Loading branch information
jbrockmendel committed Jun 11, 2021
commit 34edd64a8f90ef8d34c680187e183d818f8f0261
5 changes: 3 additions & 2 deletions pandas/core/arrays/string_.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ class BaseStringArray(ExtensionArray):
pass


class StringArray(BaseStringArray, PandasArray):
# error: Cannot determine type of 'repeat' in base class 'ExtensionArray'
class StringArray(BaseStringArray, PandasArray): # type: ignore[misc]
"""
Extension array for string data.

Expand Down Expand Up @@ -311,7 +312,7 @@ def __init__(self, values, copy=False):
values = extract_array(values)

super().__init__(values, copy=copy)
NDArrayBacked.__init__(self, self._ndarray, StringDtype())
NDArrayBacked.__init__(self, self._ndarray, StringDtype(storage="python"))
if not isinstance(values, type(self)):
self._validate()

Expand Down
2 changes: 1 addition & 1 deletion pandas/core/computation/pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def __repr__(self) -> str:
return pprint_thing(self.expr)

def evaluate(self):
""" create and return the numexpr condition and filter """
"""create and return the numexpr condition and filter"""
if self.terms is None:
raise ValueError(
f"cannot process expression [{self.expr}], [{self}] "
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0