Skip to content
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

Closes #1689 - Adds support for DataFrame to generic attach #1798

Merged

Conversation

joshmarshall1
Copy link
Contributor

This PR closes #1689

On the chapel side, the symbol table proc findAll has been modified to return the matching portion of the regex instead of the entire string that was searched. This allows for more flexibility in searches. The DataFrame attach proc uses the existing attach processes for Strings, pdarray, Categorical, and SegArray to build it's return message.

On the python side the function from_return_msg has been added to DataFrame as well as a helper function that is used to parse the column name out of the registry entry name.

Copy link
Contributor

@Ethan-DeBandi99 Ethan-DeBandi99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing major, just a few suggested updates to interacting with message arguments. Also, a suggestion to move the return to the client to JSON formatting in order to make things more readable, but if this is not doable, not a big deal.

arkouda/dataframe.py Show resolved Hide resolved
src/RegistrationMsg.chpl Show resolved Hide resolved
src/RegistrationMsg.chpl Show resolved Hide resolved
@joshmarshall1 joshmarshall1 force-pushed the 1689_dataframe_generic_attach branch from b6ff525 to 1471da0 Compare September 29, 2022 16:13
Copy link
Member

@stress-tess stress-tess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any issues with this, nice job!

arkouda/dataframe.py Show resolved Hide resolved
@stress-tess stress-tess merged commit 27df401 into Bears-R-Us:master Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for DataFrame to generic attach
3 participants