Skip to content

Conversation

lysnikolaou
Copy link
Owner

No description provided.

This is a first commit that adds the infra needed for `replace` to
work:
* It adds `count` and `str_len`, two ufuncs needed to compute the
  length of the output buffer
* It adds a dummy `__replace_impl` ufunc that does nothing, but only
  works if the `out` kwarg is provided.
* It adds the `replace` function in `umath.py`, which uses `count`
  and `str_len` to create an output buffer and then calls
  `__replace_impl` with that.
@lysnikolaou lysnikolaou changed the base branch from main to string-ufuncs-find-rfind October 18, 2023 09:17
@lysnikolaou lysnikolaou force-pushed the string-ufuncs-find-rfind branch 4 times, most recently from d4d97eb to 671fa53 Compare November 2, 2023 18:19
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.

1 participant