-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
BugNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
ser = pd.Series([0], dtype="Float64")
>>> ser == False
0 True
dtype: boolean
Issue Description
NA
Expected Behavior
I would expect this to be stricter in type-safety. The lack of strictness necessitates special-casing in mask_missing (called from Block.replace).
Note that these also compare as equal for numpy float64 and float64[pyarrow]
Installed Versions
Replace this line with the output of pd.show_versions()
Metadata
Metadata
Assignees
Labels
BugNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member