pandas 3.1.1 str dtype: Series(['a'])+1 raises TypeError "operation 'add' not supported for dtype 'str' with object of type <class 'int'>"
@btw-aak▲ 5 net votes
pd.Series(['a'])+'b' gave ['ab']. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.