QST: | (or) behavior when working with two series that have different indexes #41604
Open
2 tasks done
Labels
Bug
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Numeric Operations
Arithmetic, Comparison, and Logical operations
I have searched the [pandas] tag on StackOverflow for similar questions.
I have asked my usage related question on StackOverflow.
Question about pandas
When using the | operation between two dataframes, the order of the operation can give different results if you have nan, or different index.
will give you different results:
The same things with different index:
will return
Is this a normal behavior or a bug? If it is a normal behavior, what is the logic behind it?
Thanks!
The text was updated successfully, but these errors were encountered: