Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,7 @@ if uploaded_file is not None:
|
|
12 |
data_caqh = pd.read_excel(uploaded_file, sheet_name='CAQH')
|
13 |
data_ndb = pd.read_excel(uploaded_file, sheet_name='NDB')
|
14 |
|
15 |
-
data_caqh['full-addr'] = data_caqh['address1'] + ', ' + data_caqh['address2'] + ', ' + data_caqh['city'] + ', '+ data_caqh['state']+ ', ' + data_caqh['postalcode']
|
16 |
-
if data_ndb['zip_pls_4_cd']
|
17 |
|
18 |
data_ndb['zip_cd_zip_pls_4_cd'] = data_ndb['zip_cd'].astype(str) + '-' + data_ndb['zip_pls_4_cd'].astype(str)
|
19 |
data_ndb['zip_cd_zip_pls_4_cd'] = data_ndb['zip_cd_zip_pls_4_cd'].apply(lambda x: x if (x[-1] != '0' and x[-1] != '1') else x[:-1])
|
|
|
12 |
data_caqh = pd.read_excel(uploaded_file, sheet_name='CAQH')
|
13 |
data_ndb = pd.read_excel(uploaded_file, sheet_name='NDB')
|
14 |
|
15 |
+
data_caqh['full-addr'] = data_caqh['address1'] + ', ' + data_caqh['address2'] + ', ' + data_caqh['city'] + ', '+ data_caqh['state']+ ', ' + data_caqh['postalcode']
|
|
|
16 |
|
17 |
data_ndb['zip_cd_zip_pls_4_cd'] = data_ndb['zip_cd'].astype(str) + '-' + data_ndb['zip_pls_4_cd'].astype(str)
|
18 |
data_ndb['zip_cd_zip_pls_4_cd'] = data_ndb['zip_cd_zip_pls_4_cd'].apply(lambda x: x if (x[-1] != '0' and x[-1] != '1') else x[:-1])
|