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.

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

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