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
Additional migration issues for the pd.Series constructor involve passing a dictionary. It fails with a Timestamp or multi-index key whereas before it did not:
test.py:172: error: Need type annotation for "sr1" [var-annotated]
test.py:174: error: Dict entry 0 has incompatible type "Timestamp": "str"; expected "str": "ndarray[Any, Any]" [dict-item]
test.py:178: error: Need type annotation for "sr2" [var-annotated]
test.py:180: error: Dict entry 0 has incompatible type "Tuple[str, str]": "str"; expected "str": "ndarray[Any, Any]" [dict-item]
Additional migration issues for the
pd.Series
constructor involve passing a dictionary. It fails with a Timestamp or multi-index key whereas before it did not:Originally posted by @amgcc in #826 (comment)
Might be best to allow
Hashable
as thedict
key.The text was updated successfully, but these errors were encountered: