We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In [3]: t = pd.array(['a', 'b', 'c']) In [4]: t[0] = 't' --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-4-7d1c8d6d2e6a> in <module> ----> 1 t[0] = 't' ~/sandbox/pandas/pandas/core/arrays/numpy_.py in __setitem__(self, key, value) 237 238 values = self._ndarray --> 239 t = np.result_type(value, values) 240 if t != self._ndarray.dtype: 241 values = values.astype(t, casting="safe") <__array_function__ internals> in result_type(*args, **kwargs) TypeError: data type "t" not understood
The text was updated successfully, but these errors were encountered:
BUG: Fixed PandasArray.__setitem__ with str
f0718fa
Closes pandas-dev#28118
BUG: Fixed PandasArray.__setitem__ with str (#28119)
5a227a4
* BUG: Fixed PandasArray.__setitem__ with str Closes #28118
BUG: Fixed PandasArray.__setitem__ with str (pandas-dev#28119)
caea50e
* BUG: Fixed PandasArray.__setitem__ with str Closes pandas-dev#28118
4e94286
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: