-
Notifications
You must be signed in to change notification settings - Fork 128
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
adding all_rows_overlap to fugue #244
Conversation
@goodwanghan FYI. Had some time, so adding in some more functionality to the Fugue side. |
Wow nice |
Well this sucks. Seems like the last release of fugue is breaking some of the tests :( |
Oh what? I will take a look
…On Fri, Nov 10, 2023 at 09:08 Faisal ***@***.***> wrote:
Wow nice
Well this sucks. Seems like the last release of fugue is breaking some of
the tests :(
—
Reply to this email directly, view it on GitHub
<#244 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFA5Q7ZDLOIP3LORSNNNFYTYDZNQRAVCNFSM6AAAAAA7GLTQDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGA4TSOJXGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I can reproduce this issue, will take a look today |
So after some initial investigation, it is related with pandas. Fugue 0.8.7 has a big update that is it relies more on pandas extension d types. It is an interesting case why the current datacompy logic breaks with this change. I will investigate more. |
Ahh interesting. Thanks for helping out here and taking a peek, really appreciate it. |
no problem, actually think this is a very good case, i have found an example To generalize, datacompy needs to consider the comparison between original type and extension dtypes, do we think they are the same? Examples are: object vs StringDType |
Yup those should be considered the same type IMHO. Off the top of my head pandas does store other things as objects too though. I'm pretty there is some conversion logic which happens in the compare class. Just travelling but I can take a look once I'm home. |
Waiting on #245 first before rebasing, reviewing, and merging |
e4a2cc1
to
5d76ed9
Compare
We should probably list the added functionality for fugue in the docs. Right now only |
Good call! Will add this in a bit. |
0ea8eea
to
b5e1650
Compare
@jdawang updated now |
* adding all_rows_overlap to fugue * updating fugue functions
Ref: #214
Support for all_rows_overlap with Fugue