We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99f8afd commit c17322eCopy full SHA for c17322e
pandas/core/arrays/categorical.py
@@ -34,6 +34,7 @@
34
import pandas.core.common as com
35
from pandas.core.config import get_option
36
from pandas.core.missing import interpolate_2d
37
+from pandas.core.ops import CompWrapper
38
from pandas.core.sorting import nargsort
39
40
from pandas.io.formats import console
@@ -52,6 +53,7 @@
52
53
Use 'allow_fill=False' to accept the new behavior.""")
54
55
56
+@CompWrapper(inst_from_senior_cls=True, zerodim=True)
57
def _cat_compare_op(op):
58
def f(self, other):
59
# On python2, you can usually compare any type to any type, and
0 commit comments