jump to:all–mastodon–bluesky–lemmy–lobsters–dev–stack–wiki–rss–hn
wwebbit
view: | | |

Front page / everything · hot matching “substring”

1 shown · updated 50m ago · read only
  1. Can I broadcast with numpy character find (stackoverflow.com)stack

    25 points by I.P. Freeley in stackoverflow.com · 6h ago · stack comments

    I have an array of potential substrings and an array of full strings. I'd like to know which elements of the potential substrings are indeed found as substrings in the full array. import numpy as np potential_substrings = np.array(["visit a", "visit b", "visit c, 1", "visit d"])…