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
It seems we can't know new_dtypes for columns other than on in advance. @dchigarev, do you think we should change the logic in _compute_result_metadata to only compute dtypes for on or we should completely remove the logic for new_dtypes computation?
It seems we can't know new_dtypes for columns other than on in advance.
I believe in case of a left-merge we can preserve dtypes for 'on' columns and all the columns from the left frame (since the left frame is never reindexed as far as I understand). We can also keep dtypes for the 'object' columns of the right frame, since in this case the column's dtype won't change even if we add NaNs to it.
For an inner merge, it seems that the current logic of dtypes precomputation works just fine (since we don't add NaNs to columns).
Checked on 3abd961.
The text was updated successfully, but these errors were encountered: