Skip to content

Porting recent merged PRs from master to main - #4740

Merged
ajpotts merged 22 commits into
Bears-R-Us:mainfrom
ajpotts:main
Jul 25, 2025
Merged

ajpotts merged 22 commits into
Bears-R-Us:mainfrom
ajpotts:main

Conversation

@ajpotts

@ajpotts ajpotts commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

This PR ports recent merged PRs from master to main.

ajpotts and others added 22 commits July 22, 2025 18:02
)

Adds a `doctest` unit test for the `dataframe` module.

Closes Bears-R-Us#4254:  add doctest to dataframe module

Co-authored-by: ajpotts <[email protected]>
…ears-R-Us#4730)

Sets a longer timeout for `test_multi_col_merge` when running with ASAN
to ensure the test actually finishes

Signed-off-by: Jade Abraham <[email protected]>
…dule (Bears-R-Us#4490)

Adds `doctest` unit test for the `array_api/utility_functions` module.


Closes Bears-R-Us#4306:  add doctest to array_api/utility_functions module

Co-authored-by: ajpotts <[email protected]>
Adds `doctest` unit tests for the `_version` module.

Closes Bears-R-Us#4271:  add doctest to _version module

Co-authored-by: ajpotts <[email protected]>
)

Adds `doctest` unit test for the `infoclass` module.

Closes Bears-R-Us#4258:  add doctest to infoclass module

Co-authored-by: ajpotts <[email protected]>
Adds `doctest` unit tests to the `index` module.

Closes Bears-R-Us#4257:  add doctest to index module

Co-authored-by: ajpotts <[email protected]>
Adds `doctest` unit test to the `io` module.

Closes Bears-R-Us#4259:  add doctest to io module

Co-authored-by: ajpotts <[email protected]>
Adds a docstring for the `dataframe` module.


Closes Bears-R-Us#4526 docstring for dataframe module

Co-authored-by: ajpotts <[email protected]>
Adds `doctest` unit tests for the `history` module.

Closes Bears-R-Us#4256:  add doctest to history module

Co-authored-by: ajpotts <[email protected]>
Adds a docstring for the `plotting` module.

Closes Bears-R-Us#4546:  docstring for plotting module

Co-authored-by: ajpotts <[email protected]>
Since pdarray.opeq enforces that the dtype of a scalar must match the
dtype of the vector, this PR makes similar changes to the server to
enforce that. This eliminates ~20 instantiations of `opeqvs`

Future work: given that `pdarray.opeq`/`opeqvs` outlaws `vector op=
scalar`, can `pdarray._binop`/`pdarray._r_binop`/`binopsv`/`binopvs` do
the same?

---------

Signed-off-by: Jade Abraham <[email protected]>
Added examples for the `infoclass` module. Also created a `doctest` unit
test for the module.

Closes Bears-R-Us#4574:  infoclass module doctest

Co-authored-by: ajpotts <[email protected]>
…ears-R-Us#4731)

Previously this used the `.isSorted()` method which is unavailable.

Signed-off-by: Shreyas Khandekar <[email protected]>
Refactors `hashArrays` and `hasHelper` to avoid some of the duplicated
code.

I observed this making a 8% reduction on the generated code size

Signed-off-by: Jade Abraham <[email protected]>
Adds doctest unit test the the `client` module.

Closes Bears-R-Us#4252:  add doctest to client module

Co-authored-by: ajpotts <[email protected]>
…Op (Bears-R-Us#4728)

This PR makes a few changes to how bitwise and boolean ops are computed
in the arkouda server.

- Since the order of operands to bitwise ops does not matter, by using a
helper function `doBoolBoolBitOp` and only calling it with operands in
the same order (always `vector, scalar` or `vector, vector`) we can save
some compilation time
- The same `Set.set` was being recreated all over the place to determine
if an op was an operator. This PR refactors that set into a common place
so it does not get instantiated for all the generic combinations.
- Makes a similar transformation with `Set.set` for `realOps`

I consider this a general cleanup and consolidation of logic in
BinOp/OperatorMsg, it also saves a little bit of time while compiling

---------

Signed-off-by: Jade Abraham <[email protected]>
Adds a docstring for `groupbyclass`.

Closes Bears-R-Us#4532:  docstring for groupbyclass

Co-authored-by: ajpotts <[email protected]>
Adds a docstring for the `index` module.

Closes Bears-R-Us#4538:  docstring for index module

Co-authored-by: ajpotts <[email protected]>
Adds a `doctest` unit test for the `row` module.

Closes Bears-R-Us#4268:  add doctest to row module

Co-authored-by: ajpotts <[email protected]>
…4541)

Adds a docstring for the `matcher` module.

Closes Bears-R-Us#4540:  docstring for the matcher module

Co-authored-by: ajpotts <[email protected]>
Adds a docstring for the `client` module.

Closes Bears-R-Us#4542 docstring for client

---------

Co-authored-by: ajpotts <[email protected]>
@ajpotts
ajpotts marked this pull request as ready for review July 25, 2025 12:08
@ajpotts
ajpotts enabled auto-merge July 25, 2025 12:10

@drculhane drculhane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for doing this.

@ajpotts
ajpotts added this pull request to the merge queue Jul 25, 2025
Merged via the queue into Bears-R-Us:main with commit 0aa320f Jul 25, 2025
drculhane pushed a commit to drculhane/arkouda that referenced this pull request Aug 20, 2025
This PR ports recent merged PRs from master to main.

---------

Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Shreyas Khandekar <[email protected]>
Co-authored-by: ajpotts <[email protected]>
Co-authored-by: Jade Abraham <[email protected]>
Co-authored-by: Shreyas Khandekar <[email protected]>
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.

6 participants