pyarrow.compute.ends_with

pyarrow.compute.ends_with(strings, *, memory_pool=None, options=None, pattern, ignore_case=False)

Match strings against literal pattern.

For each string in strings, emit true iff it contains a given pattern. Null inputs emit null. The pattern must be given in MatchSubstringOptions. If ignore_case is set, only simple case folding is performed.

Parameters
  • strings (Array-like or scalar-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.

  • options (pyarrow.compute.MatchSubstringOptions, optional) – Parameters altering compute function semantics

  • **kwargs (optional) – Parameters for MatchSubstringOptions constructor. Either options or **kwargs can be passed, but not both at the same time.