You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [3]: s=ak.Series((ak.arange(3), ak.arange(3)))
In [4]: s==s---------------------------------------------------------------------------TypeErrorTraceback (mostrecentcalllast)
CellIn[4], line1---->1s==sFile~/proj/arkouda/arkouda/series.py:252, inSeries._make_binop.<locals>.binop(self, other)
250ifisinstance(other, Series):
251ifself.index._check_aligned(other.index):
-->252returncls((self.index, operator(self.values, other.values)))
253else:
254idx=self.index._merge(other.index).indexFile/opt/homebrew/Caskroom/miniforge/base/envs/arkouda-dev/lib/python3.10/site-packages/typeguard/__init__.py:891, intypechecked.<locals>.wrapper(*args, **kwargs)
889memo=_CallMemo(python_func, _localns, args=args, kwargs=kwargs)
890check_argument_types(memo)
-->891retval=func(*args, **kwargs)
892check_return_type(retval, memo)
894# If a generator is returned, wrap it if its yield/send/return types can be checkedFile~/proj/arkouda/arkouda/series.py:127, inSeries.__init__(self, data, index)
124ifisinstance(data, (tuple, list)) andlen(data) ==2:
125# handles the previous `ar_tuple` case126ifnotisinstance(data[0], (pdarray, Strings, Categorical, list, tuple)):
-->127raiseTypeError("indices must be a pdarray, Strings, Categorical, List, or Tuple")
128ifnotisinstance(data[1], (pdarray, Strings, Categorical)):
129raiseTypeError("values must be a pdarray, Strings, or Categorical")
TypeError: indicesmustbeapdarray, Strings, Categorical, List, orTuple
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: