-
Notifications
You must be signed in to change notification settings - Fork 48
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
Cython binding for slice, head and tail #619
Conversation
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the minor changes I suggested, PR looks good to me.
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
@arupcsedu whats the status of this PR? 🙂 |
Hi Niranda, I will submit by today. Sorry for later
…On Wed, 28 Sep, 2022 at 11:23 AM, niranda perera ***@***.***> wrote:
@arupcsedu <https://github.com/arupcsedu> whats the status of this PR? 🙂
—
Reply to this email directly, view it on GitHub
<#619 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOGXWU4RKRS47UHZFHXRPLWARPHNANCNFSM6AAAAAAQJPAKUU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@nirandaperera and @vibhatha , I have submitted the new changes. |
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
Please fix the branch conflict. Otherwise we wont be able to run the CI jobs. |
@
@nirandaperera , Fixed and commited. |
Signed-off-by: Arup Sarker <arupcsedu@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for working on this one.
Merged. @arupcsedu thank you for taking this up & @vibhatha thank you for reviewing this. |
1. add cython bindings
2. Update getitem method in pycylon.DataFrame. For distributed head/ tail/ slice, pass an additional CylonEnv object to getitem method
Examples:
df = ....
df[5:100] # local slice
df[:5] # local head
df[:-5] # local tail
df[5:100, env] # distributed slice
df[:5, env] # distributed head
df[:-5, env] # distributed tail
3. add python test
Issues: #317
Reference - Design doc
https://docs.google.com/document/d/1wQ3rVj5OBLXju5hf6FWlwyDGc65ync_LZVQ_QzsHX-c/edit
Reference GPU impl #512