daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "C:/Users/nicholas.franchetti/PycharmProjects/dq/jobs/salesforce/adhoc/marketing_list_enrich.py", line 93, in <module>
  3.     state_col='State/Province/County', zip_col='ZIP/Postal Code', country_col='Country'
  4.   File "C:/Users/nicholas.franchetti/PycharmProjects/dq/jobs/salesforce/adhoc/marketing_list_enrich.py", line 57, in run_job
  5.     zip_col=zip_col, country_col=country_col,
  6.   File "C:/Users/nicholas.franchetti/PycharmProjects/dq/jobs/salesforce/adhoc/marketing_list_enrich.py", line 27, in _extract_companies
  7.     country_col=country_col,
  8.   File "C:\Users\nicholas.franchetti\PycharmProjects\dq\dq\xforms\pipeline_xforms.py", line 701, in pipe_company_address_enrich
  9.     country_col=country_col,
  10.   File "C:\Users\nicholas.franchetti\PycharmProjects\dq\dq\xforms\company_xforms.py", line 1006, in company_google_address_enrich
  11.     in_place=True,
  12.   File "C:\Users\nicholas.franchetti\PycharmProjects\dq\dq\utils\df_utils.py", line 557, in wrapper
  13.     return fn(df, **kwargs)
  14.   File "C:\Users\nicholas.franchetti\PycharmProjects\dq\dq\xforms\address_xforms.py", line 1156, in get_google_address
  15.     return df.apply(_check_address, axis=1)
  16.   File "C:\Users\nicholas.franchetti\Envs\dq\lib\site-packages\pandas\core\frame.py", line 4152, in apply
  17.     return self._apply_standard(f, axis, reduce=reduce)
  18.   File "C:\Users\nicholas.franchetti\Envs\dq\lib\site-packages\pandas\core\frame.py", line 4248, in _apply_standard
  19.     results[i] = func(v)
  20.   File "C:\Users\nicholas.franchetti\PycharmProjects\dq\dq\utils\df_utils.py", line 305, in wrapper
  21.     return fn(*args, **kwargs)
  22.   File "C:\Users\nicholas.franchetti\PycharmProjects\dq\dq\xforms\address_xforms.py", line 1137, in _check_address
  23.     line1_val, line2_val, line3_val, line1, line2, line3
  24.   File "C:\Users\nicholas.franchetti\PycharmProjects\dq\dq\utils\address_utils.py", line 618, in clean_address_lines
  25.     new_line3 = fix_num_abbr(new_line3)
  26.   File "C:\Users\nicholas.franchetti\PycharmProjects\dq\dq\utils\abbr_utils.py", line 130, in fix_num_abbr
  27.     matches = re.findall(pattern, floor)
  28.   File "C:\Users\nicholas.franchetti\Envs\dq\lib\re.py", line 213, in findall
  29.     return _compile(pattern, flags).findall(string)
  30. TypeError: ('expected string or bytes-like object', 'occurred at index 16')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top