def str_rsplit(arr, pat=None, n=None):
 if ((n is None) or (n == 0)):
  n = (-1)
 f = (lambda x: x.rsplit(pat, n))
 res = _na_map(f, arr)
 return res

def str_rsplit ( arr , pat = None , n = None ) : if ( ( n is None ) or ( n == 0 ) ) : n = ( - 1 ) f = ( lambda x : x . rsplit ( pat , n ) ) res = _na_map ( f , arr ) return res
split each string in the series/index by the given delimiter string .