Skip to content

Commit

Permalink
remove unused change
Browse files Browse the repository at this point in the history
  • Loading branch information
frances-h committed May 20, 2020
1 parent 53c6fc5 commit 495e5b5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions featuretools/primitives/standard/binary_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,6 @@ class NotEqual(TransformPrimitive):
whether each value in X is not equal to each corresponding
value in Y.
Args:
strict_categories (bool): Deterimines how to compare Categorical
dtypes. If True, values are only conisidered equal if they have
the same categories. If False, categories are ignored when testing
equality. Defaults to False.
Examples:
>>> not_equal = NotEqual()
>>> not_equal([2, 1, 2], [1, 2, 2]).tolist()
Expand All @@ -314,9 +308,6 @@ class NotEqual(TransformPrimitive):
return_type = Boolean
commutative = True

def __init__(self, strict_categories=False):
self.strict_categories = strict_categories

def get_function(self):
def not_equal(x_vals, y_vals):
if isinstance(x_vals.dtype, pd.CategoricalDtype) and \
Expand Down

0 comments on commit 495e5b5

Please sign in to comment.