-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
join_nulls
in "asof" join
#17886
Comments
Can you provide an example including the desired result? Do you mean when the left frame is null, or when the right frame does not have a matching row but does have a null value? |
Does this example clarify the desired result?
|
I see--I believe you're asking that the initial I think there is an issue which is that joining on nulls produces the cartesian product of the matching records, and these are not guaranteed to have a sorted output order, which is a requirement of |
Isn't this also true for any other values? What is special about nulls here (in the |
Description
Would it be possible to add the
join_nulls: bool = False
argument to the .join_asof() function, as it is also available to the .join() function?I have a use case where I want to join two data frames using the "asof" logic, and I'd also like to join when the join keys (
on
/left_on
/right_on
) areNull
. I would also be interested whether there is a workaround in the mean time.The text was updated successfully, but these errors were encountered: